Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Backlight/ColorDefs.h
- Revision:
- 1:951d0ba43cb1
diff -r b45298b78bbe -r 951d0ba43cb1 Backlight/ColorDefs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Backlight/ColorDefs.h Fri Apr 20 01:52:39 2018 +0000
@@ -0,0 +1,28 @@
+#ifndef COLORDEFS_H
+#define COLORDEFS_H
+
+const uint8_t COLOR_OK[NUM_PIXELS][3] = {{0,255,0},
+ {0,255,0},
+ {0,255,0},
+ {0,255,0},
+ {0,255,0}};
+
+const uint8_t COLOR_ERROR[NUM_PIXELS][3] = {{255,0,0},
+ {255,0,0},
+ {255,0,0},
+ {255,0,0},
+ {255,0,0}};
+
+const uint8_t COLOR_CONFIG[NUM_PIXELS][3] = {{0,0,255},
+ {0,0,255},
+ {0,0,255},
+ {0,0,255},
+ {0,0,255}};
+
+const uint8_t COLOR_OFF[NUM_PIXELS][3] = {{0,0,0},
+ {0,0,0},
+ {0,0,0},
+ {0,0,0},
+ {0,0,0}};
+
+#endif
\ No newline at end of file