// // Created by Gabriel Augendre on 29/04/2021. // #ifndef SUPER_SIMON_UTILS_H #define SUPER_SIMON_UTILS_H void activate(byte index); void buzz(byte index, unsigned long duration = 0); bool buttonIsPressed(byte index); void deactivateAll(); void playSequence(const byte sequence[], byte upTo); bool userSequence(const byte sequence[], byte upTo); byte waitForButton(); void error(byte index); void endGame(LiquidCrystal lcd, bool win, byte score); void configure(); void blink(byte index); #endif //SUPER_SIMON_UTILS_H