Skip to content

Commit

Permalink
last commit before relase fixed some stuff to long ago to remember all
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerfunky committed Feb 16, 2018
1 parent 72f327b commit 1efc7f1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
Binary file added Huzzahesp8266-1.0.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added extras/TouchOSC/samsung-test.touchosc
Binary file not shown.
3 changes: 2 additions & 1 deletion httpd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(); });




Expand Down
7 changes: 7 additions & 0 deletions leds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 3 additions & 0 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
add reset all strips to 0
reset all forms to 0

3 changes: 3 additions & 0 deletions wifi-ota.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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)
{

Expand Down

0 comments on commit 1efc7f1

Please sign in to comment.