Test for LinkSprite Y201 JPEG camera
Dependencies: mbed MODSERIAL Y201 mbed-rtos
Revision 3:f87ddad1906f, committed 2012-07-18
- Comitter:
- ashleymills
- Date:
- Wed Jul 18 07:35:31 2012 +0000
- Parent:
- 2:cf38a12918af
- Child:
- 4:156e6339e263
- Commit message:
- Test for Y201 Camera
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 Mon Jul 02 09:37:59 2012 +0000 +++ b/Y201.lib Wed Jul 18 07:35:31 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/ashleymills/code/Y201/#decf96d8e6b0 +http://mbed.org/users/ashleymills/code/Y201/#6e575c19681f
--- a/main.cpp Mon Jul 02 09:37:59 2012 +0000
+++ b/main.cpp Wed Jul 18 07:35:31 2012 +0000
@@ -26,13 +26,13 @@
void test(void const*) {
- LocalFileSystem fs("fs");
- FILE *fp = fopen("/fs/picture.jpg","w");
+ LocalFileSystem fs("fs");
+ FILE *fp = fopen("/fs/picture.jpg","w");
pc.baud(115200);
pc.printf("RESET V^V^V^V^V^V^V^V^V^V^V RESET\r\n");
// open camera
- Y201 camera(p13,p14);
+ Y201 camera(p28,p27);
// set image size
if(camera.setImageSize(Y201::e640x480)) {



