diff --git a/Huzzahesp8266-1.0.bin b/Huzzahesp8266-1.0.bin new file mode 100644 index 0000000..cdebd8c Binary files /dev/null and b/Huzzahesp8266-1.0.bin differ diff --git a/data/TouchhOSC/TinyPixelMapper.iphone-EDITOR.touchosc b/data/TouchhOSC/TinyPixelMapper.iphone-EDITOR.touchosc new file mode 100644 index 0000000..718b684 Binary files /dev/null and b/data/TouchhOSC/TinyPixelMapper.iphone-EDITOR.touchosc differ diff --git a/data/TouchhOSC/TinyPixelMapper.iphone-MasterPlay.touchosc b/data/TouchhOSC/TinyPixelMapper.iphone-MasterPlay.touchosc new file mode 100644 index 0000000..3421492 Binary files /dev/null and b/data/TouchhOSC/TinyPixelMapper.iphone-MasterPlay.touchosc differ diff --git a/extras/TouchOSC/samsung-test.touchosc b/extras/TouchOSC/samsung-test.touchosc new file mode 100644 index 0000000..573c019 Binary files /dev/null and b/extras/TouchOSC/samsung-test.touchosc differ diff --git a/httpd.cpp b/httpd.cpp index f38a5ae..bfa53da 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -270,7 +270,8 @@ void httpd_handleRequestSettings() httpd.on("/ssid", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.ssid); }); httpd.on("/password", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.pwd); }); httpd.on("/APname", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.APname); }); - + httpd.on("/reset", HTTP_GET, []() { httpd.send(200, "text/plain", "Rebooting"); ESP.restart(); }); + diff --git a/leds.cpp b/leds.cpp index 0f8abbe..a03c495 100644 --- a/leds.cpp +++ b/leds.cpp @@ -448,6 +448,13 @@ void Fire2012WithPalette(uint16_t start_led, uint16_t Nr_leds, bool reversed, bo // END Fire +void LEDS_setall_color() { + + // + fill_solid(&(leds[0]), NUM_LEDS, CRGB(180, 180, 180)); + + +} void LEDS_fadeout() { diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..e38ca95 --- /dev/null +++ b/todo.txt @@ -0,0 +1,3 @@ +add reset all strips to 0 +reset all forms to 0 + diff --git a/wifi-ota.cpp b/wifi-ota.cpp index 65e59a2..02f92bc 100644 --- a/wifi-ota.cpp +++ b/wifi-ota.cpp @@ -88,6 +88,7 @@ extern void OSC_loop(); // from leds extern void LEDS_artnet_in(uint16_t universe, uint16_t length, uint8_t sequence, uint8_t* data); extern void LEDS_fadeout(); +extern void LEDS_setall_color(); extern void LEDS_FFT_enqueue(uint8_t invalue); extern uint8_t LEDS_FFT_get_value(uint8_t bit); @@ -460,6 +461,8 @@ void setup_wifi_Network() uint8_t try_led_counter = 0; uint8_t led_color[3] = { 255,0,0 }; + LEDS_setall_color(); + while (WiFi.status() != WL_CONNECTED) {