Go Down

Topic: NUMBER_MOTOR'was not declared in this scope (Read 2 times) previous topic - next topic

strong

sorry if I seem dumb but muiltwii_2_1_mega2_0_gps is the code I think.

AWOL

This is like pulling teeth.
Where is the code?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

strong

static  int16_t  servo[8] = (1500,1500,1500,1500,1500,1500,1500,1500);

PaulS

Quote
sorry if I seem dumb but muiltwii_2_1_mega2_0_gps is the code I think.

Nope. I pasted muiltwii_2_1_mega2_0_gps in the IDE, but it won't compile:
Quote
sketch_jan07a:0: error: expected constructor, destructor, or type conversion at end of input

AWOL

#9
Jan 08, 2013, 04:18 pm Last Edit: Jan 08, 2013, 04:19 pm by AWOL Reason: 1
Two subtle differences (three, if you count CODE TAGS)
Code: [Select]
static  int16_t  servo[8] = {1500,1500,1500,1500,1500,1500,1500,1500};

Quote
Nope. I pasted muiltwii_2_1_mega2_0_gps in the IDE, but it won't compile:
Quote

You forgot the semicolon. Duh.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up