Test for LinkSprite Y201 JPEG camera
Dependencies: mbed MODSERIAL Y201 mbed-rtos
Diff: main.cpp
- Revision:
- 3:f87ddad1906f
- Parent:
- 2:cf38a12918af
- Child:
- 4:156e6339e263
--- 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)) {