From b87d1909dc4736d4556378391cfdbe8631c673ca Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 3 May 2019 22:14:30 +0200 Subject: [PATCH] rename client --- .../settings.example.h | 0 clients/strip-wemosd1-udp-ws2812b/settings.h | 19 +++++++++++++++++++ .../strip-wemosd1-udp-ws2812b.ino} | 0 3 files changed, 19 insertions(+) rename clients/{strip-wemosd1-websocket => strip-wemosd1-udp-ws2812b}/settings.example.h (100%) create mode 100644 clients/strip-wemosd1-udp-ws2812b/settings.h rename clients/{strip-wemosd1-websocket/strip-wemosd1-websocket.ino => strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino} (100%) diff --git a/clients/strip-wemosd1-websocket/settings.example.h b/clients/strip-wemosd1-udp-ws2812b/settings.example.h similarity index 100% rename from clients/strip-wemosd1-websocket/settings.example.h rename to clients/strip-wemosd1-udp-ws2812b/settings.example.h diff --git a/clients/strip-wemosd1-udp-ws2812b/settings.h b/clients/strip-wemosd1-udp-ws2812b/settings.h new file mode 100644 index 0000000..b80776e --- /dev/null +++ b/clients/strip-wemosd1-udp-ws2812b/settings.h @@ -0,0 +1,19 @@ +#define NUM_LEDS 150 +#define DATA_PIN D8 +#define LED_TYPE WS2811 +#define COLOR_ORDER GRB + +#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 = "Regal"; + +const char* ssid = "zy-intern"; +const char* password = "Rg>379rqQX$*h-Tx"; + +//RecipientIP is overridden after wl connect, getting localip and set last octet to 255 (Broadcast) +//this will only work for /24 networks. If you want to set an other BC or a sinle IP adress set overriderecipient to true +bool overriderecipient = false; +IPAddress RecipientIP = IPAddress(0, 0, 0, 0); + +unsigned int RecipientPort = 8002; diff --git a/clients/strip-wemosd1-websocket/strip-wemosd1-websocket.ino b/clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino similarity index 100% rename from clients/strip-wemosd1-websocket/strip-wemosd1-websocket.ino rename to clients/strip-wemosd1-udp-ws2812b/strip-wemosd1-udp-ws2812b.ino