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
Diff: main.cpp
- Revision:
- 5:13c70bcde7f6
- Parent:
- 4:2fe89414d4df
- Child:
- 7:dc29f6647486
--- a/main.cpp Thu Oct 29 19:02:38 2015 +0000 +++ b/main.cpp Mon Nov 09 17:53:22 2015 +0000 @@ -1,11 +1,5 @@ #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(); @@ -18,16 +12,16 @@ 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); +*/ -/// -//mkdir("/sd/foo",0777); -/* - FILE *fp = fopen("/sd/mbed.txt", "w"); - fprintf(fp, "Hello World!\n"); - fclose(fp); - */ - -//// for (;;) { UI_Poll();