![](/media/cache/profiles/45ab12afa05e563bb484781693dffc87.50x50_q85.jpg)
modify for C210 webcam and Startboard Orange.
Dependencies: TextLCD USBHost mbed
Fork of USBHostC270_example by
Norimasa Okamoto さんの http://mbed.org/users/va009039/code/USBHostC270_example/ を C210 webcam と StarBoard Orange での SD カード保存用に変更。
Diff: main.cpp
- Revision:
- 4:f8a5c8aa895a
- Parent:
- 2:3e3df7a79050
- Child:
- 9:fecabade834a
--- a/main.cpp Wed Mar 13 10:28:43 2013 +0000 +++ b/main.cpp Wed Mar 13 10:30:25 2013 +0000 @@ -15,8 +15,11 @@ Thread::wait(500); } + // in a loop, append a file + // if the device is disconnected, we try to connect it again while(1) { + // append a file FILE * fp = fopen("/usb/test1.txt", "a"); if (fp != NULL) {