Library for LinkSprite Y201 JPEG serial camera.
Diff: Y201.cpp
- Revision:
- 2:7d8a6087f2e5
- Parent:
- 1:30a6aeda21c2
- Child:
- 4:6e575c19681f
--- a/Y201.cpp Sat Jun 02 13:13:52 2012 +0000 +++ b/Y201.cpp Fri Jun 29 19:10:17 2012 +0000 @@ -29,6 +29,7 @@ nread++; } } + Thread::wait(1); } else { printf("Error during file read\r\n"); return false; @@ -95,7 +96,7 @@ } } -Y201::Y201(PinName tx, PinName rx, const char *name) : Serial(tx,rx,name) { +Y201::Y201(PinName tx, PinName rx, const char *name) : MODSERIAL(tx,rx,name) { baud(38400); }