Colors using Adafruit_ST7735.h
i'm trying fill in gaps colors. i've started trying save orange. see in adafruit_st7735.h ,for lcd display, colors defined 0xabcd. when colors online see 6 digit hex 0xabcdef. missing? how define colors using 4 digit hex, seen in adafruit_st7735.h file? code: [select] // color definitions #define st7735_black 0x0000 #define st7735_blue 0xf800 #define st7735_red 0x001f #define st7735_orange 0x00aa //test creating color #define st7735_green 0x07e0 #define st7735_cyan 0xffe0 #define st7735_magenta 0xf81f #define st7735_yellow 0x07ff #define st7735_white 0xffff there color565(r, g, b) method. you can write equivalent macro. david. Arduino Forum > Using Arduino > Displays > Colors using Adafruit_...