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
OnBoardLED.cpp@2:80026d18fcf3, 2015-10-29 (annotated)
- Committer:
- the_sz
- Date:
- Thu Oct 29 12:59:54 2015 +0000
- Revision:
- 2:80026d18fcf3
- Parent:
- 1:35e2ad5cd1fe
initial ui
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
the_sz | 1:35e2ad5cd1fe | 1 | #include "WakeupLight.h" |
the_sz | 1:35e2ad5cd1fe | 2 | |
the_sz | 1:35e2ad5cd1fe | 3 | Ticker onBoardLEDTicker; |
the_sz | 1:35e2ad5cd1fe | 4 | |
the_sz | 1:35e2ad5cd1fe | 5 | void OnBoardLED_Callback() |
the_sz | 1:35e2ad5cd1fe | 6 | { |
the_sz | 2:80026d18fcf3 | 7 | BSP_LED_Toggle(LED_GREEN); |
the_sz | 1:35e2ad5cd1fe | 8 | } |
the_sz | 1:35e2ad5cd1fe | 9 | |
the_sz | 1:35e2ad5cd1fe | 10 | void OnBoardLED_Init(void) |
the_sz | 1:35e2ad5cd1fe | 11 | { |
the_sz | 2:80026d18fcf3 | 12 | BSP_LED_Init(LED_GREEN); |
the_sz | 2:80026d18fcf3 | 13 | |
the_sz | 1:35e2ad5cd1fe | 14 | onBoardLEDTicker.attach(&OnBoardLED_Callback,0.3); |
the_sz | 1:35e2ad5cd1fe | 15 | } |