constexpr camera_config_t m5stack_camera_settings

This commit is contained in:
Rene
2024-01-28 12:06:25 +01:00
parent 7f37bff13d
commit 51c5bf08bc

View File

@@ -112,21 +112,21 @@ constexpr camera_config_t ttgo_t_camera_settings = {
constexpr camera_config_t m5stack_camera_settings = { constexpr camera_config_t m5stack_camera_settings = {
.pin_pwdn = -1, .pin_pwdn = -1,
.pin_reset = 15, .pin_reset = -1,
.pin_xclk = 27, .pin_xclk = 10,
.pin_sscb_sda = 25, .pin_sscb_sda = 40,
.pin_sscb_scl = 23, .pin_sscb_scl = 39,
.pin_d7 = 19, .pin_d7 = 48,
.pin_d6 = 36, .pin_d6 = 11,
.pin_d5 = 18, .pin_d5 = 12,
.pin_d4 = 39, .pin_d4 = 14,
.pin_d3 = 5, .pin_d3 = 16,
.pin_d2 = 34, .pin_d2 = 18,
.pin_d1 = 35, .pin_d1 = 17,
.pin_d0 = 32, .pin_d0 = 15,
.pin_vsync = 22, .pin_vsync = 38,
.pin_href = 26, .pin_href = 47,
.pin_pclk = 21, .pin_pclk = 13,
.xclk_freq_hz = 20000000, .xclk_freq_hz = 20000000,
.ledc_timer = LEDC_TIMER_0, .ledc_timer = LEDC_TIMER_0,
.ledc_channel = LEDC_CHANNEL_0, .ledc_channel = LEDC_CHANNEL_0,
@@ -134,7 +134,7 @@ constexpr camera_config_t m5stack_camera_settings = {
.frame_size = FRAMESIZE_SVGA, .frame_size = FRAMESIZE_SVGA,
.jpeg_quality = 12, .jpeg_quality = 12,
.fb_count = 1, .fb_count = 1,
.fb_location = CAMERA_FB_IN_DRAM, .fb_location = CAMERA_FB_IN_PSRAM,
.grab_mode = CAMERA_GRAB_LATEST}; .grab_mode = CAMERA_GRAB_LATEST};
constexpr camera_config_t wrover_kit_camera_settings = { constexpr camera_config_t wrover_kit_camera_settings = {