Cant seem to get this to work any clues??
_10_minute_Blink_with_button_reset:33: error: 'led' was not declared in this scope
digitalWrite(led, HIGH);
^
C:\Users\Paul\Documents\Arduino\Sketchbook_10_minute_Blink_with_button_reset_10_minute_Blink_with_button_reset.ino: At global scope:
_10_minute_Blink_with_button_reset:46: error: 'switchState' does not name a type
switchState = digitalRead(switchPin);
^
_10_minute_Blink_with_button_reset:49: error: expected unqualified-id before 'if'
if (switchState != prevSwitchState) {
^
_10_minute_Blink_with_button_reset:57: error: 'previousTime' does not name a type
previousTime = currentTime;
^
_10_minute_Blink_with_button_reset:58: error: expected declaration before '}' token
}
^
exit status 1
'led' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
_10_minute_Blink_with_button_reset.ino (1.62 KB)