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' was not declared in this 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()' previously 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()' previously defined here
Serial.print(sensorVal);
^
exit status 1
'baseline' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Welcome to the Forum. To get the most from this site, please read the two posts by Nick Gammon at the top of this Forum on posting questions here, especially on properly posting program code using code tags. It will help us help you.