FastLED 3.9.15
Loading...
Searching...
No Matches

◆ handleSerialDither()

void handleSerialDither ( )

Definition at line 53 of file FxNoiseRing.ino.

53 {
54 if (Serial.available()) {
55 char input = Serial.read();
56 if (input == '0') {
57 useDither = false;
58 } else if (input == '1') {
59 useDither = true;
60 } else {
61 FASTLED_WARN("Invalid dither input. Use 0 or 1");
62 }
63 }
64}
UICheckbox useDither("Use Binary Dither", true)
#define FASTLED_WARN
Definition warn.h:7

References FASTLED_WARN, and useDither.

Referenced by loop().

+ Here is the caller graph for this function: