JJRobots COMMUNITY

Full Version: Evo 2: problems uploading CODE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anyone help please, I am trying to upload the sketch to my board but get these error messages, just trying to figure out what Im doing wrong. Thanks

Servos:74:3: error: 'OCR4D' was not declared in this scope

OCR4D = pwm & 0xFF; // 2.1 or 2.4 boards servo2 output

^

exit status 1
'Serial1' was not declared in this scope
(10-08-2018 07:12 PM)GRVDIGR Wrote: [ -> ]Can anyone help please, I am trying to upload the sketch to my board but get these error messages, just trying to figure out what Im doing wrong. Thanks

Servos:74:3: error: 'OCR4D' was not declared in this scope

OCR4D = pwm & 0xFF; // 2.1 or 2.4 boards servo2 output

^

exit status 1
'Serial1' was not declared in this scope
Check you have placed all the libraries in the same folder and selected the right board (Arduino Leonardo)
Reference URL's