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:
2:80026d18fcf3
Parent:
1:35e2ad5cd1fe
--- a/OnBoardLED.cpp	Thu Oct 29 05:00:04 2015 +0000
+++ b/OnBoardLED.cpp	Thu Oct 29 12:59:54 2015 +0000
@@ -1,14 +1,15 @@
 #include "WakeupLight.h"
 
-DigitalOut              onBoardLED(LED1);
 Ticker                  onBoardLEDTicker;
 
 void OnBoardLED_Callback()
 {
-    onBoardLED=!onBoardLED;
+    BSP_LED_Toggle(LED_GREEN);
 }
 
 void OnBoardLED_Init(void)
 {
+    BSP_LED_Init(LED_GREEN);
+
     onBoardLEDTicker.attach(&OnBoardLED_Callback,0.3);
 }