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
Revision 4:2fe89414d4df, committed 2015-10-29
- Comitter:
- the_sz
- Date:
- Thu Oct 29 19:02:38 2015 +0000
- Parent:
- 3:ecf7f1f8d749
- Child:
- 5:13c70bcde7f6
- Commit message:
- sd test begin
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 29 18:09:31 2015 +0000 +++ b/main.cpp Thu Oct 29 19:02:38 2015 +0000 @@ -1,5 +1,11 @@ #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(); @@ -12,6 +18,16 @@ UI_Init(); + +/// +//mkdir("/sd/foo",0777); +/* + FILE *fp = fopen("/sd/mbed.txt", "w"); + fprintf(fp, "Hello World!\n"); + fclose(fp); + */ + +//// for (;;) { UI_Poll();