Test for LinkSprite Y201 JPEG camera
Dependencies: mbed MODSERIAL Y201 mbed-rtos
Revision 2:cf38a12918af, committed 2012-07-02
- Comitter:
- ashleymills
- Date:
- Mon Jul 02 09:37:59 2012 +0000
- Parent:
- 1:60a7ddc83644
- Child:
- 3:f87ddad1906f
- Commit message:
- Changed to use 512 byte RX buffer
Changed in this revision
Y201.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Y201.lib Fri Jun 29 20:38:07 2012 +0000 +++ b/Y201.lib Mon Jul 02 09:37:59 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/ashleymills/code/Y201/#7d8a6087f2e5 +http://mbed.org/users/ashleymills/code/Y201/#decf96d8e6b0
--- a/main.cpp Fri Jun 29 20:38:07 2012 +0000 +++ b/main.cpp Mon Jul 02 09:37:59 2012 +0000 @@ -67,7 +67,7 @@ // IMAGE UPLOAD int bytesRead = 0; - int chunkSize = 256; + int chunkSize = 512; uint8_t *readBuffer = (uint8_t*)malloc(chunkSize*sizeof(uint8_t)); while(bytesRead<fileSize) {