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
main.cpp
- Committer:
- the_sz
- Date:
- 2015-11-09
- Revision:
- 5:13c70bcde7f6
- Parent:
- 4:2fe89414d4df
- Child:
- 7:dc29f6647486
File content as of revision 5:13c70bcde7f6:
#include "WakeupLight.h" int main() { debug_Init(); DPrintf("WakeupLight - Hardware v%08X.\r\n",BSP_GetVersion()); OnBoardLED_Init(); LED_Init(); UI_Init(); /* #include "SDFileSystem.h" SDFileSystem sd(PD_2, PC_8, PC_12, PC_11, "sd"); // MOSI, MISO, SCLK, SSEL DigitalOut sdsd(PC_9); mkdir("/sd/foo",0777); FILE *fp = fopen("/sd/mbed.txt", "w"); fprintf(fp, "Hello World!\n"); fclose(fp); */ for (;;) { UI_Poll(); } }