Advertisement
nathanchantrell

Colour definitions for HY-1.8 SPI TFT LCD

Mar 25th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. In Adafruit_ST7735.h
  2.  
  3. // Color definitions
  4. #define ST7735_BLACK 0x0000
  5. #define ST7735_RED 0x001F
  6. #define ST7735_BLUE 0xF800
  7. #define ST7735_GREEN 0x07E0
  8. #define ST7735_YELLOW 0x07FF
  9. #define ST7735_MAGENTA 0xF81F
  10. #define ST7735_CYAN 0xFFE0
  11. #define ST7735_WHITE 0xFFFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement