PIDs and fun
Dependencies: btbee m3pi_ng mbed FatFileSystemCpp
Diff: main.cpp
- Revision:
- 12:057471fb3616
- Parent:
- 11:ac6112ca954f
- Child:
- 13:0b1e1e90f147
--- a/main.cpp Thu May 28 14:29:54 2015 +0000 +++ b/main.cpp Thu May 28 14:32:08 2015 +0000 @@ -33,6 +33,16 @@ int main() { + DIR *d; + struct dirent *p; + + d = opendir("/" FSNAME); + + FILE *fp = fopen( "/" FSNAME "/Fertig.txt", "w"); + if ( fp == NULL ) + { + m3pi.leds(1); + } btbee.reset(); @@ -310,6 +320,6 @@ } - - + fprintf(fp,"LOL"); + fclose(fp); }