Add support for pwdn pin

pull/10/head
Nitek 2018-12-12 14:43:01 +01:00
parent fd715557ff
commit ea0c306c19
4 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit a7066681bc13d6bce6c3a6162e11ee85720081df Subproject commit f8f26ab04492c28be5922ac06994a78440ad8258

View File

@ -61,6 +61,7 @@ void app_camera_main ()
config.pin_href = HREF_GPIO_NUM; config.pin_href = HREF_GPIO_NUM;
config.pin_sscb_sda = SIOD_GPIO_NUM; config.pin_sscb_sda = SIOD_GPIO_NUM;
config.pin_sscb_scl = SIOC_GPIO_NUM; config.pin_sscb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = RESET_GPIO_NUM; config.pin_reset = RESET_GPIO_NUM;
config.xclk_freq_hz = 20000000; config.xclk_freq_hz = 20000000;
config.pixel_format = PIXFORMAT_JPEG; config.pixel_format = PIXFORMAT_JPEG;

View File

@ -45,6 +45,7 @@ void app_camera_init()
config.pin_href = HREF_GPIO_NUM; config.pin_href = HREF_GPIO_NUM;
config.pin_sscb_sda = SIOD_GPIO_NUM; config.pin_sscb_sda = SIOD_GPIO_NUM;
config.pin_sscb_scl = SIOC_GPIO_NUM; config.pin_sscb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = -1;//RESET_GPIO_NUM; config.pin_reset = -1;//RESET_GPIO_NUM;
config.xclk_freq_hz = XCLK_FREQ; config.xclk_freq_hz = XCLK_FREQ;
config.pixel_format = CAMERA_PIXEL_FORMAT; config.pixel_format = CAMERA_PIXEL_FORMAT;

View File

@ -45,6 +45,7 @@ void app_camera_init()
config.pin_href = HREF_GPIO_NUM; config.pin_href = HREF_GPIO_NUM;
config.pin_sscb_sda = SIOD_GPIO_NUM; config.pin_sscb_sda = SIOD_GPIO_NUM;
config.pin_sscb_scl = SIOC_GPIO_NUM; config.pin_sscb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = -1;//RESET_GPIO_NUM; config.pin_reset = -1;//RESET_GPIO_NUM;
config.xclk_freq_hz = XCLK_FREQ; config.xclk_freq_hz = XCLK_FREQ;
config.pixel_format = CAMERA_PIXEL_FORMAT; config.pixel_format = CAMERA_PIXEL_FORMAT;