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@1:35e2ad5cd1fe, 2015-10-29 (annotated)
- Committer:
- the_sz
- Date:
- Thu Oct 29 05:00:04 2015 +0000
- Revision:
- 1:35e2ad5cd1fe
- Child:
- 2:80026d18fcf3
led, debug led, display, debug port working
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 | DigitalOut onBoardLED(LED1); |
the_sz | 1:35e2ad5cd1fe | 4 | Ticker onBoardLEDTicker; |
the_sz | 1:35e2ad5cd1fe | 5 | |
the_sz | 1:35e2ad5cd1fe | 6 | void OnBoardLED_Callback() |
the_sz | 1:35e2ad5cd1fe | 7 | { |
the_sz | 1:35e2ad5cd1fe | 8 | onBoardLED=!onBoardLED; |
the_sz | 1:35e2ad5cd1fe | 9 | } |
the_sz | 1:35e2ad5cd1fe | 10 | |
the_sz | 1:35e2ad5cd1fe | 11 | void OnBoardLED_Init(void) |
the_sz | 1:35e2ad5cd1fe | 12 | { |
the_sz | 1:35e2ad5cd1fe | 13 | onBoardLEDTicker.attach(&OnBoardLED_Callback,0.3); |
the_sz | 1:35e2ad5cd1fe | 14 | } |