![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Basic example how to use DrawPixel with STM32F746
Dependencies: BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG mbed
colors.c@1:8a54b7de2617, 2018-02-21 (annotated)
- Committer:
- billycorgan123
- Date:
- Wed Feb 21 19:38:50 2018 +0000
- Revision:
- 1:8a54b7de2617
rev1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
billycorgan123 | 1:8a54b7de2617 | 1 | //http://www.rapidtables.com/web/color/RGB_Color.htm |
billycorgan123 | 1:8a54b7de2617 | 2 | //16 colors |
billycorgan123 | 1:8a54b7de2617 | 3 | #define black 0xFF000000 |
billycorgan123 | 1:8a54b7de2617 | 4 | #define white 0xFFFFFFFF |
billycorgan123 | 1:8a54b7de2617 | 5 | #define red 0xFFFF0000 |
billycorgan123 | 1:8a54b7de2617 | 6 | #define lime 0xFF00FF00 |
billycorgan123 | 1:8a54b7de2617 | 7 | #define blue 0xFF0000FF |
billycorgan123 | 1:8a54b7de2617 | 8 | #define yellow 0xFFFFFF00 |
billycorgan123 | 1:8a54b7de2617 | 9 | #define cyan 0xFF00FFFF |
billycorgan123 | 1:8a54b7de2617 | 10 | #define magenta 0xFFFF00FF |
billycorgan123 | 1:8a54b7de2617 | 11 | #define silver 0xFFC0C0C0 |
billycorgan123 | 1:8a54b7de2617 | 12 | #define gray 0xFF808080 |
billycorgan123 | 1:8a54b7de2617 | 13 | #define maroon 0xFF800000 |
billycorgan123 | 1:8a54b7de2617 | 14 | #define olive 0xFF808000 |
billycorgan123 | 1:8a54b7de2617 | 15 | #define green 0xFF008000 |
billycorgan123 | 1:8a54b7de2617 | 16 | #define purple 0xFF800080 |
billycorgan123 | 1:8a54b7de2617 | 17 | #define teal 0xFF008080 |
billycorgan123 | 1:8a54b7de2617 | 18 | #define navy 0xFF000080 |
billycorgan123 | 1:8a54b7de2617 | 19 | |
billycorgan123 | 1:8a54b7de2617 | 20 | #define midnight_blue 0xFF191970 //(25,25,112) |
billycorgan123 | 1:8a54b7de2617 | 21 | #define dark_blue 0xFF00008B //(0,0,139) |
billycorgan123 | 1:8a54b7de2617 | 22 | #define medium_blue 0xFF0000CD //(0,0,205) |
billycorgan123 | 1:8a54b7de2617 | 23 | #define dark_grey 0xFFA9A9A9 //(169,169,169) |
billycorgan123 | 1:8a54b7de2617 | 24 | #define dim_grey 0xFF696969 //(105,105,105) |
billycorgan123 | 1:8a54b7de2617 | 25 | #define light_sky_blue 0xFF87CEFA |
billycorgan123 | 1:8a54b7de2617 | 26 | #define dark_red 0xFF8B0000 //(139,0,0) |
billycorgan123 | 1:8a54b7de2617 | 27 | #define dark_orange 0xFFFF8C00 //(255,140,0) |
billycorgan123 | 1:8a54b7de2617 | 28 | #define forest_green 0xFF228B22 //(34,139,34) |
billycorgan123 | 1:8a54b7de2617 | 29 | #define crimson 0xFFDC143C //(220,20,60) |
billycorgan123 | 1:8a54b7de2617 | 30 | #define powder_blue 0xFFB0E0E6 //(176,224,230) |