User Manual
ArduCAM Camera Shield Software Application Note
www.ArduCAM.com
16
#define OV3640_1280x960 6 //1280x960
#define OV3640_1600x1200 7 //1600x1200
#define OV3640_2048x1536 8 //2048x1536
6.23 void OV5642_set_JPEG_size(uint8_t size)
Param1: resolution code
OV5642_set_JPEG_size function is used to set the desired resolution with JPEG format for
OV5642. Current support resolution is shown as follows:
#define OV5642_320x240 0 //320x240
#define OV5642_640x480 1 //640x480
#define OV5642_1024x768 2 //1024x768
#define OV5642_1280x960 3 //1280x960
#define OV5642_1600x1200 4 //1600x1200
#define OV5642_2048x1536 5 //2048x1536
#define OV5642_2592x1944 6 //2592x1944
6.24 void OV5640_set_JPEG_size(uint8_t size)
Param1: resolution code
OV5640_set_JPEG_size function is used to set the desired resolution with JPEG format for
OV5640. Current support resolution is shown as follows:
#define OV5640_320x240 0 //320x240
#define OV5640_352x288 1 //352x288
#define OV5640_640x480 2 //640x480
#define OV5640_800x480 3 //800x480
#define OV5640_1024x768 4 //1024x768
#define OV5640_1280x960 5 //1280x960
#define OV5640_1600x1200 6 //1600x1200
#define OV5640_2048x1536 7 //2048x1536
#define OV5640_2592x1944 8 //2592x1944
6.25 void OV5642_set_RAW_size (uint8_t size)
Param1: resolution code
OV5642_set_RAW_size function is used to set the desired resolution with RAW format for
OV5642. Current support resolution is shown as follows:
#define OV5642_640x480 1 //640x480
#define OV5642_1280x960 3 //1280x960
#define OV5642_1920x1080 7 //1920x1080
#define OV5642_2592x1944 6 //2592x1944
6.26 void set_format(byte fmt)
set_format function is used to set the sensor between RGB mode and JPEG mode. The
InitCAM function should be called after set_format function.
6.27 void OVxxxx_set_Light_Mode(uint8_t Light_Mode)
OVxxxx_set_Light_Mode function is used to set the light mode for arducam. For different
sensors, the parameters may be different (Specific reference SDK source code).
6.28 void OVxxxx_set_Color_Saturation(uint8_t Color_Saturation)
OVxxxx_set_Color_Saturation function is used to set the color saturation mode for arducam.