![]() |
PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
|
GitHub |
OV7670 sensor driver. 更多...
函数 | |
| int | ov7670_detect (sensor_t *sensor) |
| Probe the bus for an OV7670. On success fills sensor->id. | |
| int | ov7670_init_sensor (sensor_t *sensor) |
| Fill sensor_t function pointers and write the default register set. | |
OV7670 sensor driver.
Register tables and control logic adapted from esp32-camera's ov7670.c (OpenMV, MIT license). The OV7670 has no JPEG encoder, so set_pixformat(PIXFORMAT_JPEG) always fails; the core also rejects it up front via camera_sensor_info_t.support_jpeg.
Timing notes:
| int ov7670_detect | ( | sensor_t * | sensor | ) |
Probe the bus for an OV7670. On success fills sensor->id.
| int ov7670_init_sensor | ( | sensor_t * | sensor | ) |
Fill sensor_t function pointers and write the default register set.