Skip to content

Instantly share code, notes, and snippets.

View jandolejs's full-sized avatar
👋
Hi there

Jan Dolejš jandolejs

👋
Hi there
View GitHub Profile
@jakubboucek
jakubboucek / xor-led.ino
Last active December 23, 2017 12:52
Arduino, 2 button, 2 LEDs, 1 XOR
int buttonResetId = 2;
int button1Id = 3;
int button2Id = 4;
int ledId = 5;
int ledMonitorId = 6;
int ledActivityId = LED_BUILTIN;
bool defaultState = false;
bool lastState = false;
bool monitorTogglerState = false;