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
Diff: LED.cpp
- Revision:
- 5:13c70bcde7f6
- Parent:
- 3:ecf7f1f8d749
- Child:
- 13:811a5c5b3fd6
diff -r 2fe89414d4df -r 13c70bcde7f6 LED.cpp --- a/LED.cpp Thu Oct 29 19:02:38 2015 +0000 +++ b/LED.cpp Mon Nov 09 17:53:22 2015 +0000 @@ -1,11 +1,5 @@ #include "WakeupLight.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) - #define LED_PERIOD 10 PwmOut ledBlue(PB_15);