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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user