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