This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |