Hello getting this message and cant seem to see why, this is my first sketch so its kinda got huge for me to find all the little things wrong, any help would be epic!!!
Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"
button_clean_version:8: error: expected initializer before 'elapsedMillis'
elapsedMillis timeElapsed; //pin not stated ?? pin 8?
^
/Users/aprier/Documents/Arduino/button_clean_version/button_clean_version.ino: In function 'void loop()':
button_clean_version:40: error: 'timeElapsed' was not declared in this scope
timeElapsed = 0;
^
exit status 1
expected initializer before 'elapsedMillis'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
here is my code.
any help would be great not sure what to do next.
Thank you so much for any help!
button_clean_version.ino (3.63 KB)