Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.

Dependencies:   mbed

Revision:
22:f9b5e0b80bf2
Parent:
21:38c6b11aa348
--- a/camera_app/camera_app.cpp	Tue Sep 15 15:39:38 2015 +0000
+++ b/camera_app/camera_app.cpp	Tue Sep 15 16:45:04 2015 +0000
@@ -450,8 +450,7 @@
     phdcmi.Init.HSPolarity       = DCMI_HSPOLARITY_LOW;//Active low
 #endif    
 #ifdef MT9D111_CAM
-    phdcmi.Init.PCKPolarity      = DCMI_PCKPOLARITY_RISING;//Data clocked out on rising edge 
-//    phdcmi.Init.PCKPolarity      = DCMI_PCKPOLARITY_FALLING;//Data clocked out on falling edge       
+    phdcmi.Init.PCKPolarity      = DCMI_PCKPOLARITY_RISING;//Data clocked out on rising edge      
     phdcmi.Init.VSPolarity       = DCMI_VSPOLARITY_LOW;//Active high
     phdcmi.Init.HSPolarity       = DCMI_HSPOLARITY_LOW;//Active high    
 #endif        
@@ -621,14 +620,12 @@
 void HAL_DCMI_LineEventCallback(DCMI_HandleTypeDef *hdcmi)
 {
     //g_lines++;
-    //HttpDebug("\r\nDCMI_LineEventCallback! 0x%x\r\n",hdcmi->ErrorCode);
 
 }
 
 void HAL_DCMI_VsyncEventCallback(DCMI_HandleTypeDef *hdcmi)
 {
     //g_lines = 0;
-//    printf("\r\nVsyncEventCallback\r\n");
 
 }