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: ili9163lcd.h
- Revision:
- 9:58f6248ef377
- Parent:
- 7:eaaf60683ca4
--- a/ili9163lcd.h Sat Jan 02 10:36:18 2021 +0000 +++ b/ili9163lcd.h Tue Jan 05 07:10:40 2021 +0000 @@ -115,6 +115,16 @@ #define COL_MAX 0x7f #define PAGE_MAX 0x9f +//31*0.75=23.25 +#define COLORBAR_W decodeRgbValue(23, 23, 23)//W +#define COLORBAR_Y decodeRgbValue(23, 23, 0)//Y +#define COLORBAR_CY decodeRgbValue(0, 23, 23)//CY +#define COLORBAR_G decodeRgbValue(0, 23, 0)//G +#define COLORBAR_MG decodeRgbValue(23, 0, 23)//MG +#define COLORBAR_R decodeRgbValue(23, 0, 0)//R +#define COLORBAR_B decodeRgbValue(0, 0, 23)//B +#define COLORBAR_BK decodeRgbValue(0, 0, 0)//BK + // Macros and in-lines: // Translates a 3 byte RGB value into a 2 byte value for the LCD (values should be 0-31) @@ -154,5 +164,6 @@ void lcdPutCh(unsigned char character, uint8_t x, uint8_t y, uint16_t fgColour, uint16_t bgColour); void lcdPutS(const char *string, uint8_t x, uint8_t y, uint16_t fgColour, uint16_t bgColour); +void lcdPutCh_16(uint16_t *font16x16_hex,uint8_t x, uint8_t y, uint16_t fgColour, uint16_t bgColour); #endif /* ILI9163LCD_H_ */