Having a compile error, listed below, any ideas?
Arduino: 1.8.5 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (1M SPIFFS), ck, Disabled, None”
In file included from C:\Users\David\Downloads\OpenGarage 1.0.8\OpenGarage\examples\ogMainArduino\ogMainArduino.ino:30:0:
C:\Users\David\Downloads\arduino_og\portable\sketchbook\libraries\OpenGarage/OpenGarage.h: In static member function ‘static unsigned char OpenGarage::get_switch()’:
C:\Users\David\Downloads\arduino_og\portable\sketchbook\libraries\OpenGarage/OpenGarage.h:60:49: error: ‘PIN_SWITCH’ was not declared in this scope
static byte get_switch() { return digitalRead(PIN_SWITCH); }
^
exit status 1
Error compiling for board Generic ESP8266 Module.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.