aboutsummaryrefslogtreecommitdiffstats
path: root/Model01-Firmware.ino
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2018-03-08 18:49:26 -0800
committerGitHub <noreply@github.com>2018-03-08 18:49:26 -0800
commitaf407cb51a14870c5d0bd6fc707d64df9cc342ac (patch)
tree8249db68a9e26a7bef6a954f5543fbb8a1f16e67 /Model01-Firmware.ino
parentb745a26c5ac8d4587f868612bf148b00dc485de9 (diff)
parentb6c8974487a9198af3e5572b1c793f26e6654b44 (diff)
downloadModel01-Firmware-af407cb51a14870c5d0bd6fc707d64df9cc342ac.tar.gz
Model01-Firmware-af407cb51a14870c5d0bd6fc707d64df9cc342ac.zip
Merge pull request #47 from danbernier/alpha-square-color
Use CRGB type for AlphaSquare color, so ints are in common order
Diffstat (limited to 'Model01-Firmware.ino')
-rw-r--r--Model01-Firmware.ino2
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