Talking Touch Tablet added to device
Dependencies: FATFileSystemv2 mbed
Fork of BlueUSB by
Diff: main.cpp
- Revision:
- 1:9d655061fa1e
- Parent:
- 0:606b230e5b4a
diff -r 606b230e5b4a -r 9d655061fa1e main.cpp --- a/main.cpp Sat Apr 10 00:30:24 2010 +0000 +++ b/main.cpp Tue Oct 30 11:42:47 2012 +0000 @@ -71,11 +71,11 @@ DIR *d = opendir("/usb"); if (!d) { - printf("USB file system borked\n"); + printf("USB file system borked\r\n"); return; } - printf("\nDumping root dir\n"); + printf("\r\nDumping root dir\r\n"); struct dirent *p; for(;;) { @@ -83,7 +83,7 @@ if (!p) break; int len = sizeof( dirent); - printf("%s %d\n", p->d_name, len); + printf("%s %d\r\n", p->d_name, len); } closedir(d); } @@ -115,7 +115,7 @@ int main() { - pc.baud(460800); - printf("BlueUSB\nNow get a bunch of usb or bluetooth things and plug them in\n"); + pc.baud(9600); + printf("BlueUSB\r\nNow get a bunch of usb or bluetooth things and plug them in\r\r\n"); TestShell(); }