ugfx_release_2.6
Tectu 2012-06-04 23:03:46 +02:00
parent 170fcca9bb
commit 8956b50eb2
1 changed files with 2 additions and 4 deletions

6
glcd.h
View File

@ -40,10 +40,8 @@
#define Cyan 0x7FFF
#define Yellow 0xFFE0
#define RGB565CONVERT(red, green, blue)\
(uint16_t)( (( red >> 3 ) << 11 ) | \
(( green >> 2 ) << 5 ) | \
( blue >> 3 ))
#define RGB565CONVERT(red, green, blue) \
(uint16_t)( (( red >> 3 ) << 11 ) | (( green >> 2 ) << 5 ) | ( blue >> 3 ))
enum orientation {portrait, landscape, portraitInv, landscapeInv};
enum filles{frame, filled};