Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Evo 2: problems uploading CODE
10-08-2018, 07:12 PM (This post was last modified: 10-09-2018 09:40 AM by JJrobots JP.)
Post: #1
Evo 2: problems uploading CODE
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
Find all posts by this user
Quote this message in a reply
10-09-2018, 09:44 AM
Post: #2
RE: Evo 2: problems uploading CODE
(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)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)