This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Server part | |
//UDPSend | |
#include <WiFiUdp.h> | |
WiFiUDP Udp; | |
IPAddress ipMulti(239, 0, 0, 57); //Our multicast group | |
unsigned int localUdpPort = 4210; //Our port | |
char spectrumUDP[7]; //Just define it | |
//Setup part | |
Udp.begin(localUdpPort); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int rgbarray[] = {100,150,200}; | |
int Rval = rgbarray[0]; | |
int Gval = rgbarray[1]; | |
int Bval = rgbarray[2]; | |
int Speed = 100; | |
int BRIGHTNESS = 255; | |
#define LED_DITHER 255 // try 0 to disable flickering | |
String Preset = "pnoise"; | |
String PresetArray = "AutoVu,AutoStat,Static,blur,pnoise,beatwave,cylon,ripple,rainbow1,ripple2,Twinkle,pattern2,juggle2,pattern3,bpm,fire,vu,vu2,Vu3,Vu4,Vu6,niko,vu7,vu8,vu9,vu10"; |