To get my couch led runnung a wemos d1 udp client with support for pwm is created. also made changes to the ws2812b version
14 lines
496 B
C
14 lines
496 B
C
const char* ssid = "master";
|
|
const char* password = "master";
|
|
|
|
//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
|
|
overriderecipient = false;
|
|
RecipientIP = IPAddress(0, 0, 0, 0);
|
|
RecipientPort = 8002;
|
|
|
|
RGBStrip rgbStrips[] = {
|
|
RGBStrip("Couch links", 20, 21, 22),
|
|
RGBStrip("Couch rechts", 19, 18, 17),
|
|
};
|