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.
Backlight/ColorDefs.h@1:951d0ba43cb1, 2018-04-20 (annotated)
- Committer:
- abestat2
- Date:
- Fri Apr 20 01:52:39 2018 +0000
- Revision:
- 1:951d0ba43cb1
Changed Backlight from library to folder
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| abestat2 | 1:951d0ba43cb1 | 1 | #ifndef COLORDEFS_H |
| abestat2 | 1:951d0ba43cb1 | 2 | #define COLORDEFS_H |
| abestat2 | 1:951d0ba43cb1 | 3 | |
| abestat2 | 1:951d0ba43cb1 | 4 | const uint8_t COLOR_OK[NUM_PIXELS][3] = {{0,255,0}, |
| abestat2 | 1:951d0ba43cb1 | 5 | {0,255,0}, |
| abestat2 | 1:951d0ba43cb1 | 6 | {0,255,0}, |
| abestat2 | 1:951d0ba43cb1 | 7 | {0,255,0}, |
| abestat2 | 1:951d0ba43cb1 | 8 | {0,255,0}}; |
| abestat2 | 1:951d0ba43cb1 | 9 | |
| abestat2 | 1:951d0ba43cb1 | 10 | const uint8_t COLOR_ERROR[NUM_PIXELS][3] = {{255,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 11 | {255,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 12 | {255,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 13 | {255,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 14 | {255,0,0}}; |
| abestat2 | 1:951d0ba43cb1 | 15 | |
| abestat2 | 1:951d0ba43cb1 | 16 | const uint8_t COLOR_CONFIG[NUM_PIXELS][3] = {{0,0,255}, |
| abestat2 | 1:951d0ba43cb1 | 17 | {0,0,255}, |
| abestat2 | 1:951d0ba43cb1 | 18 | {0,0,255}, |
| abestat2 | 1:951d0ba43cb1 | 19 | {0,0,255}, |
| abestat2 | 1:951d0ba43cb1 | 20 | {0,0,255}}; |
| abestat2 | 1:951d0ba43cb1 | 21 | |
| abestat2 | 1:951d0ba43cb1 | 22 | const uint8_t COLOR_OFF[NUM_PIXELS][3] = {{0,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 23 | {0,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 24 | {0,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 25 | {0,0,0}, |
| abestat2 | 1:951d0ba43cb1 | 26 | {0,0,0}}; |
| abestat2 | 1:951d0ba43cb1 | 27 | |
| abestat2 | 1:951d0ba43cb1 | 28 | #endif |