Help - what does this error message mean?
hello,
this error message getting.
arduino: 1.6.9 (mac os x), board: "arduino/genuino uno"
/users/jillgoodridge/documents/arduino/space_ship/love_o_meter.ino: in function 'void loop()':
love_o_meter:49: error: 'baseline' not declared in scope
}
^
/users/jillgoodridge/documents/arduino/space_ship/sketch_1.ino: in function 'void setup()':
sketch_1:3: error: redefinition of 'void setup()'
void setup(){
^
love_o_meter:9: error: 'void setup()' defined here
pinmode(pinnumber,output);
^
/users/jillgoodridge/documents/arduino/space_ship/sketch_1.ino: in function 'void loop()':
sketch_1:10: error: redefinition of 'void loop()'
void loop(){
^
love_o_meter:18: error: 'void loop()' defined here
serial.print(sensorval);
^
exit status 1
'baseline' not declared in scope
this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.
this error message getting.
arduino: 1.6.9 (mac os x), board: "arduino/genuino uno"
/users/jillgoodridge/documents/arduino/space_ship/love_o_meter.ino: in function 'void loop()':
love_o_meter:49: error: 'baseline' not declared in scope
}
^
/users/jillgoodridge/documents/arduino/space_ship/sketch_1.ino: in function 'void setup()':
sketch_1:3: error: redefinition of 'void setup()'
void setup(){
^
love_o_meter:9: error: 'void setup()' defined here
pinmode(pinnumber,output);
^
/users/jillgoodridge/documents/arduino/space_ship/sketch_1.ino: in function 'void loop()':
sketch_1:10: error: redefinition of 'void loop()'
void loop(){
^
love_o_meter:18: error: 'void loop()' defined here
serial.print(sensorval);
^
exit status 1
'baseline' not declared in scope
this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.
the first says you're using variable doesn't exist tried use it. other 2 complaining compiler found 2 functions same name. hth
Arduino Forum > Using Arduino > Programming Questions > Help - what does this error message mean?
arduino
Comments
Post a Comment