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.
Diff: camera_app/mt9d111/mt9d111.cpp
- Revision:
- 1:1a80c1529aa3
- Parent:
- 0:50cedd586816
- Child:
- 2:b92db44a29b4
--- a/camera_app/mt9d111/mt9d111.cpp Wed Jun 24 09:54:16 2015 +0000 +++ b/camera_app/mt9d111/mt9d111.cpp Thu Jun 25 18:37:49 2015 +0000 @@ -55,13 +55,6 @@ #define SENSOR_PAGE_REG 0xF0 #define CAM_I2C_SLAVE_ADDR ((0xBA >> 1)) -typedef struct MT9D111RegLst -{ - unsigned char ucPageAddr; - unsigned char ucRegAddr; - unsigned short usValue; -} s_RegList; - #ifndef ENABLE_JPEG static const s_RegList preview_on_cmd_list[]= { {1, 0xC6, 0xA103 }, // SEQ_CMD @@ -297,13 +290,6 @@ }; //***************************************************************************** -// Static Function Declarations -//***************************************************************************** -static int RegLstWrite(s_RegList *pRegLst, unsigned int ulNofItems); -extern void MT9D111Delay(unsigned int ucDelay); - - -//***************************************************************************** // //! This function initilizes the camera sensor //!