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: UI_Main.cpp
- Revision:
- 5:13c70bcde7f6
- Parent:
- 3:ecf7f1f8d749
- Child:
- 7:dc29f6647486
--- a/UI_Main.cpp Thu Oct 29 19:02:38 2015 +0000 +++ b/UI_Main.cpp Mon Nov 09 17:53:22 2015 +0000 @@ -2,7 +2,7 @@ int32_t timeOut; -void UI_MainHandler(UI_REASON_ENUM reason,uint32_t index,UI_STRUCT *ui) +void UI_MainHandler(UI_REASON_ENUM reason,int32_t index,UI_STRUCT *ui) { switch (reason) { @@ -17,6 +17,8 @@ LED_StartAnimation(LAE_WAKEUP); else if (index==4) LED_StartAnimation(LAE_OFF); + else if (index==5) + UI_Show(&uiColorTest); break; case UR_TIMER: