basic LED library inclusion
This commit is contained in:
parent
724b9c6ecb
commit
01ce8971a7
2
TODO.txt
2
TODO.txt
@ -9,4 +9,6 @@ implement button
|
||||
implement LED Control (NeoPixelBus?) -- vip
|
||||
implement HSB slider option
|
||||
implement default color on boot
|
||||
change color submit from get to post, rewrite with args, requires no buffer
|
||||
change color submit from rgb to hex
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <NeoPixelBus.h>
|
||||
#include <FS.h>
|
||||
|
||||
//NeoPixelBus strip = NeoPixelBus(pixelCount, 8, NEO_GRB | NEO_KHZ800);
|
||||
NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(16);
|
||||
|
||||
String clientssid = "Your_Network_Here";
|
||||
String clientpass = "Dummy_Pass";
|
||||
@ -21,8 +21,6 @@ IPAddress staticip(0, 0, 0, 0);
|
||||
IPAddress staticgateway(0, 0, 0, 0);
|
||||
IPAddress staticsubnet(255, 255, 255, 0);
|
||||
|
||||
//boolean wasConnected = false;
|
||||
|
||||
byte col[3];
|
||||
byte bri;
|
||||
byte hue, sat;
|
||||
@ -500,11 +498,10 @@ void handleFileList() {
|
||||
|
||||
void setLeds() {
|
||||
|
||||
/*for (int i=0; i<pixelCount; i++) {
|
||||
strip.SetPixelColor(i, black);
|
||||
for (int i=0; i<16; i++) {
|
||||
strip.SetPixelColor(i, RgbColor(col[0], col[1], col[2]));
|
||||
}
|
||||
strip.SetPixelColor(pixel, color);
|
||||
strip.Show();*/
|
||||
strip.Show();
|
||||
}
|
||||
|
||||
void setup() {
|
||||
|
Loading…
Reference in New Issue
Block a user