Adafruit library for our project
Fork of Adafruit_ILI9341 by
Diff: Adafruit_ILI9341.h
- Revision:
- 1:cee7cf5065a1
- Parent:
- 0:16926c5097c9
- Child:
- 2:dd1efb72ee21
--- a/Adafruit_ILI9341.h Fri Dec 05 06:42:42 2014 +0000 +++ b/Adafruit_ILI9341.h Thu Nov 10 08:51:00 2016 +0000 @@ -94,14 +94,14 @@ */ // Color definitions -#define ILI9341_BLACK 0x0000 -#define ILI9341_BLUE 0x001F -#define ILI9341_RED 0xF800 -#define ILI9341_GREEN 0x07E0 -#define ILI9341_CYAN 0x07FF -#define ILI9341_MAGENTA 0xF81F -#define ILI9341_YELLOW 0xFFE0 -#define ILI9341_WHITE 0xFFFF +#define BLACK 0x0000 +#define BLUE 0x001F +#define RED 0xF800 +#define GREEN 0x07E0 +#define CYAN 0x07FF +#define MAGENTA 0xF81F +#define YELLOW 0xFFE0 +#define WHITE 0xFFFF #define DELAY 0x80 //structs @@ -120,7 +120,7 @@ public: Adafruit_ILI9341(PinName DC, PinName CS, PinName RST); - void begin(void), + void begin(void), setAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1), pushColor(uint16_t color), fillScreen(uint16_t color),