Skip to content

Incorrect parameters in esp32_camera documentation #6836

@evildave666

Description

@evildave666

CircuitPython version

Adafruit CircuitPython 8.0.0-beta.0-15-g63239894e-dirty on 2022-08-28; AI-Thinker ESP32-CAM with ESP32

Code/REPL

import board
import busio
import esp32_camera

cami2c = busio.I2C(board.CAMERA_SCL,board.CAMERA_SDA)

camera=esp32_camera.Camera(data_pins=board.CAMERA_DATA, pixel_clock=board.CAMERA_PCLK,
                           vsync=board.CAMERA_VSYNC,href=board.CAMERA_HREF, i2c=cami2c,
                           external_clock_pin=board.CAMERA_XCLK,external_clock_frequency=200000,
                           powerdown_pin=board.CAMERA_PWDN, pixel_format=esp32_camera.PixelFormat.RGB565,
                           frame_size=esp32_camera.FrameSize.QQVGA)

Behavior

Documention is in error:
pixel_clock, vsync, href should be pixel_clock_pin, vsync_pin, href_pin

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions