Changed from ESP8266 to ESP32. Works much better.

HTTP server is disabled (for now).
This commit is contained in:
2019-11-11 05:32:41 +01:00
parent 2ea2ec479a
commit d799448c97
15 changed files with 273 additions and 204 deletions

View File

@ -2,11 +2,10 @@
#include "spi_master.h"
#include "config.h"
Controller::Controller(Player* p, Adafruit_MCP23017* m, SPIMaster* s) {
Controller::Controller(Player* p, SPIMaster* s) {
_player = p;
_mcp = m;
_spi = s;
_rfid = new MFRC522(D0, MFRC522::UNUSED_PIN);
_rfid = new MFRC522(17, MFRC522::UNUSED_PIN);
BTN_NEXT_SETUP();
BTN_PREV_SETUP();