Here is the list of errors I am getting when I compile the ArduCopter.pde file. Maybe someone here can help me out. I think it is something simple.
leds:56: error: 'bitWrite' was not declared in this scope
leds:56: error: 'digitalWrite' was not declared in this scope
leds:58: error: 'LOW' was not declared in this scope
leds:58: error: 'bitWrite' was not declared in this scope
leds:58: error: 'bitWrite' was not declared in this scope
leds:58: error: 'digitalWrite' was not declared in this scope
leds:63: error: 'HIGH' was not declared in this scope
leds:63: error: 'bitWrite' was not declared in this scope
leds:63: error: 'bitWrite' was not declared in this scope
leds:63: error: 'digitalWrite' was not declared in this scope
leds.ino: In function 'void dancing_light()':
leds:70: error: 'byte' does not name a type
leds:72: error: 'step' was not declared in this scope
leds:75: error: 'step' was not declared in this scope
leds:78: error: 'LOW' was not declared in this scope
leds:78: error: 'bitWrite' was not declared in this scope
leds:78: error: 'bitWrite' was not declared in this scope
leds:78: error: 'digitalWrite' was not declared in this scope
leds:79: error: 'HIGH' was not declared in this scope
leds:79: error: 'bitWrite' was not declared in this scope
leds:79: error: 'bitWrite' was not declared in this scope
leds:79: error: 'digitalWrite' was not declared in this scope
leds:83: error: 'LOW' was not declared in this scope
leds:83: error: 'bitWrite' was not declared in this scope
leds:83: error: 'bitWrite' was not declared in this scope
leds:83: error: 'digitalWrite' was not declared in this scope
leds:84: error: 'HIGH' was not declared in this scope
leds:84: error: 'bitWrite' was not declared in this scope
leds:84: error: 'bitWrite' was not declared in this scope
leds:84: error: 'digitalWrite' was not declared in this scope
leds:88: error: 'LOW' was not declared in this scope
leds:88: error: 'bitWrite' was not declared in this scope
leds:88: error: 'bitWrite' was not declared in this scope
leds:88: error: 'digitalWrite' was not declared in this scope
leds:89: error: 'HIGH' was not declared in this scope
.
.
.
setup:275: error: 'delay' was not declared in this scope
setup.ino: In function 'int8_t setup_accel_scale(uint8_t, const Menu::arg*)':
setup:292: error: 'delay' was not declared in this scope
setup:295: error: 'constrain' was not declared in this scope
setup.ino: In function 'int8_t setup_flightmodes(uint8_t, const Menu::arg*)':
setup:326: error: 'byte' was not declared in this scope
setup:326: error: expected `;' before '_switchPosition'
setup:327: error: expected `;' before '_oldSwitchPosition'
setup:334: error: 'delay' was not declared in this scope
setup:336: error: '_switchPosition' was not declared in this scope
setup:336: error: 'readSwitch' was not declared in this scope
setup:340: error: '_oldSwitchPosition' was not declared in this scope
setup:343: error: 'constrain' was not declared in this scope
setup:346: error: 'print_switch' was not declared in this scope
setup:362: error: 'print_switch' was not declared in this scope
setup:370: error: 'print_switch' was not declared in this scope
setup:378: error: 'print_switch' was not declared in this scope
setup.ino: In function 'int8_t setup_declination(uint8_t, const Menu::arg*)':
setup:398: error: 'radians' was not declared in this scope
setup.ino: At global scope:
setup:790: error: variable or field 'report_wp' declared void
setup:790: error: 'byte' was not declared in this scope
Replies
This was what I needed! Well it looks like I just had a stupid problem! Here is the link just in case someone else has the same problem...
http://diydrones.com/group/learning-to-program-the-ardupilot-mega/f...