diff --git a/platformio.ini b/platformio.ini index 8a2dbea..37f48db 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,4 +13,5 @@ platform = espressif32 board = wt32-eth01 framework = arduino lib_deps = siwats/ESPMegaPROR3@^2.9.5 -monitor_speed = 115200 \ No newline at end of file +monitor_speed = 115200 +build_flags = -DCORE_DEBUG_LEVEL=0 -DSW_VERSION='"walkway-1.0.0"' -DBOARD_MODEL='"ESPMegaPRO R3.3c"' \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 67c98cd..947ece6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,18 +4,6 @@ ESPMegaPRO espmega = ESPMegaPRO(); void setup() { - // Initialize both displayports - INTERNAL_DISPLAY_UART.begin(INTERNAL_DISPLAY_BAUDRATE); - ESP_LOGI("OS", "Starting Initialization"); - INTERNAL_DISPLAY_UART.write(0xFF); - INTERNAL_DISPLAY_UART.write(0xFF); - INTERNAL_DISPLAY_UART.write(0xFF); - INTERNAL_DISPLAY_UART.print("rest"); - INTERNAL_DISPLAY_UART.write(0xFF); - INTERNAL_DISPLAY_UART.write(0xFF); - INTERNAL_DISPLAY_UART.write(0xFF); - // Wait for the display to reset - vTaskDelay(1000 / portTICK_PERIOD_MS); // Initialize the ESPMegaPRO ESP_LOGV("OS", "Initializing ESPMegaPRO"); espmega.begin(); @@ -54,3 +42,8 @@ void loop() { espmega.loop(); } + +void input_callback(uint8_t pin, uint8_t state) +{ + +} \ No newline at end of file diff --git a/src/main.hpp b/src/main.hpp index e661088..4152763 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -2,5 +2,7 @@ #include #include -#define INTERNAL_DISPLAY_UART Serial -#define INTERNAL_DISPLAY_BAUDRATE 115200 \ No newline at end of file +void setup(); +void loop(); + +void input_callback(uint8_t pin, uint8_t state); \ No newline at end of file