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.
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 20:6e2e4a8372eb
- Parent:
- 19:3f82c1161fd2
- Child:
- 21:3c1efb192927
--- a/RA8875.h Sun Jan 12 17:40:32 2014 +0000 +++ b/RA8875.h Sun Jan 12 18:44:58 2014 +0000 @@ -16,22 +16,24 @@ #define RGB(r,g,b) ( ((r<<8)&0xF800) | ((g<<3)&0x07E0) | (b>>3) ) /// DOS colors - slightly color enhanced -#define Black RGB(0,0,0) -#define Blue RGB(0,0,187) -#define Green RGB(0,187,0) -#define Cyan RGB(0,187,187) -#define Red RGB(187,0,0) -#define Magenta RGB(187,0,187) -#define Brown RGB(187,187,0) -#define Gray RGB(187,187,187) -#define Charcoal RGB(85,85,85) -#define BrightBlue RGB(85,85,255) -#define BrightGreen RGB(85,255,85) -#define BrightCyan RGB(85,255,255) -#define Orange RGB(255,85,85) -#define Pink RGB(255,85,255) -#define Yellow RGB(255,255,85) -#define White RGB(255,255,255) +#define Black (color_t)(RGB(0,0,0)) +#define Blue (color_t)(RGB(0,0,187)) +#define Green (color_t)(RGB(0,187,0)) +#define Cyan (color_t)(RGB(0,187,187)) +#define Red (color_t)(RGB(187,0,0)) +#define Magenta (color_t)(RGB(187,0,187)) +#define Brown (color_t)(RGB(187,187,0)) +#define Gray (color_t)(RGB(187,187,187)) +#define Charcoal (color_t)(RGB(85,85,85)) +#define BrightBlue (color_t)(RGB(85,85,255)) +#define BrightGreen (color_t)(RGB(85,255,85)) +#define BrightCyan (color_t)(RGB(85,255,255)) +#define Orange (color_t)(RGB(255,85,85)) +#define Pink (color_t)(RGB(255,85,255)) +#define Yellow (color_t)(RGB(255,255,85)) +#define White (color_t)(RGB(255,255,255)) + +#define BrightRed (color_t)(RGB(255,0,0)) //namespace SW_graphics //{