Taking picture and uploading to sd card

Dependencies:   Ethernet_Camera_LS_Y201_SDcard SDFileSystem mbed

Fork of VC0706_jins by Albin Sebastian

Revision:
6:ffdac31f6106
Parent:
5:57b806fe3b8c
--- a/main.cpp	Fri Dec 08 04:17:39 2017 +0000
+++ b/main.cpp	Thu Feb 08 06:26:22 2018 +0000
@@ -129,7 +129,7 @@
     wait(1);
 
     int cnt = 0;
-    while (cnt < 2) {
+    while (cnt < 1) {
         lede = false;
         char fname[64];
         snprintf(fname, sizeof(fname) - 1, FILENAME, cnt);