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

Revision:
5:13c70bcde7f6
Parent:
3:ecf7f1f8d749
--- a/LED.h	Thu Oct 29 19:02:38 2015 +0000
+++ b/LED.h	Mon Nov 09 17:53:22 2015 +0000
@@ -1,6 +1,12 @@
 #ifndef __LED_h
 #define __LED_h
 
+#define COLOR_CREATE(_RED_,_GREEN_,_BLUE_,_WHITE_)          (_RED_ | (_GREEN_ << 8) | (_BLUE_ << 16) | (_WHITE_ <<24))
+#define COLOR_RED(_COLOR_)                                  (_COLOR_ & 0xFF)
+#define COLOR_GREEN(_COLOR_)                                ((_COLOR_ >> 8) & 0xFF)
+#define COLOR_BLUE(_COLOR_)                                 ((_COLOR_ >> 16) & 0xFF)
+#define COLOR_WHITE(_COLOR_)                                ((_COLOR_ >> 24) & 0xFF)
+
 typedef enum
 {
     LAE_NONE,
@@ -11,5 +17,6 @@
      
 void LED_Init(void);
 void LED_StartAnimation(LED_ANIMATION_ENUM animation);
+void LED_SetColor(int32_t color);
 
 #endif