Remove these ads by
Signing UpStep 1Construction
| « Previous Step | Download PDFView All Steps | Next Step » |
Remove these ads by
Signing Up| « Previous Step | Download PDFView All Steps | Next Step » |

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.
sketch_feb14a.cpp:3:13: error: #include expects "FILENAME" or
sketch_feb14a.cpp:4:13: error: #include expects "FILENAME" or
sketch_feb14a.cpp:5:14: error: #include expects "FILENAME" or
sketch_feb14a.cpp:6:47: error: #include expects "FILENAME" or
sketch_feb14a:7: error: 'Servo' does not name a type
sketch_feb14a.cpp: In function 'void setup()':
sketch_feb14a:45: error: 'myservo' was not declared in this scope
sketch_feb14a:48: error: 'Wire' was not declared in this scope
sketch_feb14a.cpp: In function 'void nunchuck_init()':
sketch_feb14a:61: error: 'Wire' was not declared in this scope
sketch_feb14a.cpp: In function 'void send_zero()':
sketch_feb14a:69: error: 'Wire' was not declared in this scope
sketch_feb14a.cpp: In function 'void loop()':
sketch_feb14a:86: error: 'Wire' was not declared in this scope
sketch_feb14a:119: error: 'myservo' was not declared in this scope
sketch_feb14a:124: error: 'myservo' was not declared in this scope
sketch_feb14a.cpp: In function 'void muovi(uint8_t, uint8_t)':
sketch_feb14a:250: error: expected `;' before 'pulseWidth'
sketch_feb14a:250: error: expected `)' before ';' token
sketch_feb14a:251: error: name lookup of 'p' changed for new ISO 'for' scoping
sketch_feb14a:250: error: using obsolete binding at 'p'
sketch_feb14a.cpp: At global scope:
sketch_feb14a:254: error: expected constructor, destructor, or type conversion before '/=' token
sketch_feb14a:255: error: expected constructor, destructor, or type conversion before '/=' token
sketch_feb14a:257: error: expected declaration before '}' token
1. try using version 23 for the Arduino Software.
2. Tell the author of this tutorial to try and fix the code.