Skip to content

Commit 1efc7f1

Browse files
committed
last commit before relase fixed some stuff to long ago to remember all
1 parent 72f327b commit 1efc7f1

8 files changed

+15
-1
lines changed

Huzzahesp8266-1.0.bin

379 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

extras/TouchOSC/samsung-test.touchosc

21.5 KB
Binary file not shown.

httpd.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ void httpd_handleRequestSettings()
270270
httpd.on("/ssid", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.ssid); });
271271
httpd.on("/password", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.pwd); });
272272
httpd.on("/APname", HTTP_GET, []() { httpd.send(200, "text/plain", wifi_cfg.APname); });
273-
273+
httpd.on("/reset", HTTP_GET, []() { httpd.send(200, "text/plain", "Rebooting"); ESP.restart(); });
274+
274275

275276

276277

leds.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ void Fire2012WithPalette(uint16_t start_led, uint16_t Nr_leds, bool reversed, bo
448448

449449
// END Fire
450450

451+
void LEDS_setall_color() {
452+
453+
//
454+
fill_solid(&(leds[0]), NUM_LEDS, CRGB(180, 180, 180));
455+
456+
457+
}
451458

452459
void LEDS_fadeout()
453460
{

todo.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add reset all strips to 0
2+
reset all forms to 0
3+

wifi-ota.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ extern void OSC_loop();
8888
// from leds
8989
extern void LEDS_artnet_in(uint16_t universe, uint16_t length, uint8_t sequence, uint8_t* data);
9090
extern void LEDS_fadeout();
91+
extern void LEDS_setall_color();
9192
extern void LEDS_FFT_enqueue(uint8_t invalue);
9293
extern uint8_t LEDS_FFT_get_value(uint8_t bit);
9394

@@ -460,6 +461,8 @@ void setup_wifi_Network()
460461
uint8_t try_led_counter = 0;
461462
uint8_t led_color[3] = { 255,0,0 };
462463

464+
LEDS_setall_color();
465+
463466
while (WiFi.status() != WL_CONNECTED)
464467
{
465468

0 commit comments

Comments
 (0)