From 410821e898094bd7738cb08e2632eb4801598a03 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 8 Oct 2024 23:28:31 +0700 Subject: [PATCH] initial firmware r1 --- src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 947ece6..dc43884 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,9 +29,6 @@ void setup() // Enable Web Server ESP_LOGV("OS", "Enabling Web Server"); espmega.enableWebServer(80); - - ESP_LOGV("OS", "Initializing Internal Display"); - espmega.enableInternalDisplay(&INTERNAL_DISPLAY_UART); // Register all cards with iot ESP_LOGV("OS", "Registering Cards with IoT"); espmega.iot->registerCard(0); @@ -45,5 +42,5 @@ void loop() void input_callback(uint8_t pin, uint8_t state) { - + espmega.outputs.toggleState(pin); } \ No newline at end of file