From db1e50a7556f93dee95ca3f538f183c6bff03f17 Mon Sep 17 00:00:00 2001 From: Maximilian Stiefel Date: Mon, 2 Nov 2020 23:17:17 +0100 Subject: [PATCH] HW seems to work --- app/application.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/application.cpp b/app/application.cpp index a6f72e3..4f681a2 100644 --- a/app/application.cpp +++ b/app/application.cpp @@ -9,9 +9,9 @@ #define WIFI_PWD "7rPn4mzpdaph" #endif -#define LED_R 15 +#define LED_R 12 #define LED_G 13 -#define LED_B 12 +#define LED_B 15 std::vector colorVec{LED_R, LED_G, LED_B}; @@ -119,10 +119,11 @@ void gotIP(IpAddress ip, IpAddress netmask, IpAddress gateway) { startFTP(); startWebServer(); + Serial.println("Grueziii <<<<<<<<<<<<<<<<<<<<<"); for (const uint8_t& c : colorVec) { - setColor(LED_R, 0); + setColor(c, 100); } - setColor(LED_R, 50); + //setColor(LED_G, 50); } void init()