Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 459 Bytes
// remember to update credentials.h so the device can connect to your network!
#include <EVShield.h>
#include <EVs_UIModule.h>
void setup1() {
// ev and uim have already been instantiated, you can just use them now.
ev.ledSetRGB(0, 0, 0); // ev = EVShield
uim.println("setup1"); // uim = UI Module
}
void loop1() {
// reset to browser when GO is pressed
if (ev.getButtonState(BTN_GO)) ESP.reset();
// your creative code here
}