Fixing Neoplixel Version

The Neopixel version was not working. I updated to the latest FastLED
library that uses the RMT feature and a second core. I also updated the
code to make it easier to deal with the differences between the Neopixel
and Dotstar versions.
This commit is contained in:
bdring
2018-06-29 16:41:19 -05:00
parent 2a480255e0
commit 95a8645fad
5 changed files with 189 additions and 74 deletions

View File

@@ -54,9 +54,15 @@ void sendStatsPage(WiFiClient client) {
client.print("<table>");
client.print("<tr><td>LED Count (60-1000)</td><td><form><input type='number' name='C' value='");
client.print("<tr><td>");
client.print("LED Count (60-");
client.print(MAX_LEDS);
client.print(")</td><td><form><input type='number' name='C' value='");
client.print(user_settings.led_count);
client.print ("' min='60' max='1000'><input type='submit'></form></td></tr>");
client.print ("' min='60' max='");
client.print (MAX_LEDS);
client.print ("'><input type='submit'></form></td></tr>");
client.print("<tr><td>Brightness (10-255)</td><td><form><input type='number' name='B' value='");
client.print(user_settings.led_brightness);