Added sleep mode for VS1053, HTTP server, tar upload, JSON status, RFID card removal debouncing, ...
This commit is contained in:
@ -16,6 +16,7 @@ private:
|
||||
void _check_buttons();
|
||||
uint32_t _get_rfid_card_uid();
|
||||
uint32_t _last_rfid_card_uid = 0;
|
||||
uint8_t _no_rfid_card_count = 0;
|
||||
Player* _player;
|
||||
unsigned long _last_rfid_scan_at = 0;
|
||||
String _serial_buffer = String();
|
||||
@ -26,5 +27,6 @@ private:
|
||||
bool _check_button(uint8_t btn);
|
||||
public:
|
||||
Controller(Player* p, MCP* m);
|
||||
String rfid_uid() { return String(_last_rfid_card_uid, HEX); }
|
||||
void loop();
|
||||
};
|
||||
|
Reference in New Issue
Block a user