Skip to content

Instantly share code, notes, and snippets.

#define PIN_MOTOR D0
#define PIN_SOUND D4
#define PIN_MOTION D2
#define MAX_DANCE_TIME 2 * 60 * 1000
unsigned int started_dancing = 0;
bool dancing = false, wasMotion = false;