Re-commitiing with pins for F401RE setup.

Dependencies:   SDFileSystem mbed

Revision:
3:2f9cbbda52e8
Parent:
2:2b3a04c086da
Child:
4:3bbf0941481f
--- a/main.cpp	Wed Mar 11 05:09:18 2015 +0000
+++ b/main.cpp	Mon Apr 06 22:17:20 2015 +0000
@@ -1,4 +1,4 @@
-/*******************************************************************************************************
+0/*******************************************************************************************************
 This code uses the LS-Y202 camera module to take an image, and save it an SD card.
 The SD card is interfaced via an SD card shield.
 
@@ -63,7 +63,6 @@
 }
 
 char get_byte(){ // get a byte from UART buffer
-
     char p;
     while(rx_in == rx_out);// wait for byte
     __disable_irq(); // disable interrupts
@@ -188,7 +187,7 @@
   wait(0.100);
   // 0x22 = 160*120, 0x11 = 320*240, 0x00 = 640*480, 0x1D = 800*600
   // 0x1C = 1024*768, 0x1B = 1280*960, 0x21 = 1600*1200
-  SetImageSizeCmd(0x00);
+  SetImageSizeCmd(0x1D);
   wait(0.100);
   SendTakePhotoCmd();
   wait(3);