From 27a7fb73d92e23e45e32b10132db034694ef9514 Mon Sep 17 00:00:00 2001 From: dezeyer Date: Sat, 11 May 2019 14:18:56 +0000 Subject: [PATCH] disable softap, forgot name in config --- clients/strip-wemosd1-udp-ws2812b/settings.example.h | 2 ++ clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino | 1 + 2 files changed, 3 insertions(+) diff --git a/clients/strip-wemosd1-udp-ws2812b/settings.example.h b/clients/strip-wemosd1-udp-ws2812b/settings.example.h index 552cb0d..323ed2f 100644 --- a/clients/strip-wemosd1-udp-ws2812b/settings.example.h +++ b/clients/strip-wemosd1-udp-ws2812b/settings.example.h @@ -6,6 +6,8 @@ #define MILLI_AMPS 2000 // IMPORTANT: set the max milli-Amps of your power supply (4A = 4000mA) #define FRAMES_PER_SECOND 120 // here you can control the speed. With the Access Point / Web Server the animations run a bit slower. +String StripName = "Egon"; + const char* ssid = "none"; const char* password = "none"; diff --git a/clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino b/clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino index da2dfec..a75fca2 100644 --- a/clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino +++ b/clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino @@ -30,6 +30,7 @@ void setup() { FastLED.setMaxPowerInVoltsAndMilliamps(5, MILLI_AMPS); fill_solid(leds, NUM_LEDS, CRGB::Black); wdt_enable(WDTO_4S); // Watchdog auf 4 s stellen + WiFi.softAPdisconnect (true); FastLED.show(); Udp.begin(random(5000,5500));