Wakeup Light with touch user interface, anti-aliased Font, SD card access and RTC usage on STM32F746NG-DISCO board

Dependencies:   BSP_DISCO_F746NG_patch_fixed LCD_DISCO_F746NG TS_DISCO_F746NG FATFileSystem TinyJpgDec_interwork mbed-src

Committer:
the_sz
Date:
Sun Feb 21 04:26:17 2016 +0000
Revision:
14:2044ad5cd3fe
Parent:
5:13c70bcde7f6
all fonts are working

Who changed what in which revision?

UserRevisionLine numberNew contents of line
the_sz 1:35e2ad5cd1fe 1 #ifndef __LED_h
the_sz 1:35e2ad5cd1fe 2 #define __LED_h
the_sz 1:35e2ad5cd1fe 3
the_sz 5:13c70bcde7f6 4 #define COLOR_CREATE(_RED_,_GREEN_,_BLUE_,_WHITE_) (_RED_ | (_GREEN_ << 8) | (_BLUE_ << 16) | (_WHITE_ <<24))
the_sz 5:13c70bcde7f6 5 #define COLOR_RED(_COLOR_) (_COLOR_ & 0xFF)
the_sz 5:13c70bcde7f6 6 #define COLOR_GREEN(_COLOR_) ((_COLOR_ >> 8) & 0xFF)
the_sz 5:13c70bcde7f6 7 #define COLOR_BLUE(_COLOR_) ((_COLOR_ >> 16) & 0xFF)
the_sz 5:13c70bcde7f6 8 #define COLOR_WHITE(_COLOR_) ((_COLOR_ >> 24) & 0xFF)
the_sz 5:13c70bcde7f6 9
the_sz 1:35e2ad5cd1fe 10 typedef enum
the_sz 1:35e2ad5cd1fe 11 {
the_sz 1:35e2ad5cd1fe 12 LAE_NONE,
the_sz 1:35e2ad5cd1fe 13 LAE_WAKEUP,
the_sz 3:ecf7f1f8d749 14 LAE_OFF,
the_sz 1:35e2ad5cd1fe 15
the_sz 1:35e2ad5cd1fe 16 } LED_ANIMATION_ENUM;
the_sz 1:35e2ad5cd1fe 17
the_sz 1:35e2ad5cd1fe 18 void LED_Init(void);
the_sz 1:35e2ad5cd1fe 19 void LED_StartAnimation(LED_ANIMATION_ENUM animation);
the_sz 5:13c70bcde7f6 20 void LED_SetColor(int32_t color);
the_sz 1:35e2ad5cd1fe 21
the_sz 1:35e2ad5cd1fe 22 #endif