]>
vault307.fbx.one Git - esp32Cam.git/blob - config.py
2 #-camera configuration int keys ** DONT EDIT **---------------
3 PIN_PWDN
= const(0) # power-down
4 PIN_RESET
= const(1) # reset
6 PIN_SIOD
= const(3) # SDA
7 PIN_SIOC
= const(4) # SCL
21 XCLK_MHZ
= const(16) # camera machine clock
22 PIXFORMAT
= const(17) # pixel format
23 FRAMESIZE
= const(18) # framesize
24 JPEG_QUALITY
= const(19)
25 FB_COUNT
= const(20) # framebuffer count > 1 continuous mode (JPEG only)
27 #-------------------------------------------------------------
29 # OV2640 Boards configuration below (can edit - add your board)
31 # AI-Thinker esp32-cam board
32 ai_thinker
= {PIN_PWDN
:32,
55 # New 2022 esp32vrover dev
56 esp_eye
= {PIN_PWDN
:-1,
80 wrover_dev
= {PIN_PWDN
:32,
104 wrover_test
= {PIN_PWDN
:-1,
127 # Red Board (has internal clock for camera set at 12Mhz)
128 red_board
= {PIN_PWDN
:32, #
130 PIN_XCLK
:-1, # internal sensor clock
144 XCLK_MHZ
:12, # the board has 12Mhz intrenal clock (MUST set to 12)
151 # XIAO ESP32S3 Sense Camera
152 xiao_s3_sense
= {PIN_PWDN
:-1,
175 # LILYGO T-Camera esp32s3 V1.6
176 lilygo_t_camera
= {PIN_PWDN
:-1,
199 # FREENOVE esp32s3 WROOM FNK0085 A1B0
200 freenove_fnk0085
= {PIN_PWDN
:-1,
223 def configure(cam
, config
):
224 for key
, val
in config
.items():