diff options
author | Dan Bernier <danbernier@gmail.com> | 2018-03-08 21:21:25 -0500 |
---|---|---|
committer | Dan Bernier <danbernier@gmail.com> | 2018-03-08 21:21:25 -0500 |
commit | b6c8974487a9198af3e5572b1c793f26e6654b44 (patch) | |
tree | 8249db68a9e26a7bef6a954f5543fbb8a1f16e67 | |
parent | b745a26c5ac8d4587f868612bf148b00dc485de9 (diff) | |
download | model01-firmware-b6c8974487a9198af3e5572b1c793f26e6654b44.tar.gz model01-firmware-b6c8974487a9198af3e5572b1c793f26e6654b44.tar.bz2 model01-firmware-b6c8974487a9198af3e5572b1c793f26e6654b44.zip |
Use CRGB type for AlphaSquare color, so ints are in common order
-rw-r--r-- | Model01-Firmware.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index c8d3f2e..577b3f5 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -349,7 +349,7 @@ void setup() { NumPad.numPadLayer = NUMPAD; // We configure the AlphaSquare effect to use RED letters - AlphaSquare.color = { 255, 0, 0 }; + AlphaSquare.color = CRGB(255, 0, 0); // We set the brightness of the rainbow effects to 150 (on a scale of 0-255) // This draws more than 500mA, but looks much nicer than a dimmer effect |