Browse Source

HW seems to work

master
Maximilian Stiefel 4 years ago
parent
commit
db1e50a755
  1. 9
      app/application.cpp

9
app/application.cpp

@ -9,9 +9,9 @@
#define WIFI_PWD "7rPn4mzpdaph" #define WIFI_PWD "7rPn4mzpdaph"
#endif #endif
#define LED_R 15 #define LED_R 12
#define LED_G 13 #define LED_G 13
#define LED_B 12 #define LED_B 15
std::vector<uint8_t> colorVec{LED_R, LED_G, LED_B}; std::vector<uint8_t> colorVec{LED_R, LED_G, LED_B};
@ -119,10 +119,11 @@ void gotIP(IpAddress ip, IpAddress netmask, IpAddress gateway)
{ {
startFTP(); startFTP();
startWebServer(); startWebServer();
Serial.println("Grueziii <<<<<<<<<<<<<<<<<<<<<");
for (const uint8_t& c : colorVec) { for (const uint8_t& c : colorVec) {
setColor(LED_R, 0); setColor(c, 100);
} }
setColor(LED_R, 50); //setColor(LED_G, 50);
} }
void init() void init()

Loading…
Cancel
Save