From 01ce8971a7e5c49f1bbeff681cf2611563f0851e Mon Sep 17 00:00:00 2001 From: cschwinne Date: Tue, 13 Sep 2016 23:41:15 +0200 Subject: [PATCH] basic LED library inclusion --- TODO.txt | 2 ++ wled00/wled00.ino | 11 ++++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/TODO.txt b/TODO.txt index 072a70d1..d4143b31 100644 --- a/TODO.txt +++ b/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 diff --git a/wled00/wled00.ino b/wled00/wled00.ino index c8ff97b9..6a8cd678 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -7,7 +7,7 @@ #include #include -//NeoPixelBus strip = NeoPixelBus(pixelCount, 8, NEO_GRB | NEO_KHZ800); +NeoPixelBus 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