PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Loading...
Searching...
No Matches
ov7725.h File Reference

OV7725 sensor driver (8-bit SCCB register addresses). More...

#include "../sensor.h"
Include dependency graph for ov7725.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OV7725_SCCB_ADDR   0x21
#define OV7725_PID   0x77

Functions

int ov7725_detect (sensor_t *sensor)
 Probe the bus for an OV7725. On success fills sensor->id.
int ov7725_init_sensor (sensor_t *sensor)
 Fill sensor_t function pointers and write the default register set.

Detailed Description

OV7725 sensor driver (8-bit SCCB register addresses).

The OV7725 has no JPEG encoder: RGB565 only, up to VGA.

Function Documentation

◆ ov7725_detect()

int ov7725_detect ( sensor_t * sensor)

Probe the bus for an OV7725. On success fills sensor->id.

Returns
0 if detected

◆ ov7725_init_sensor()

int ov7725_init_sensor ( sensor_t * sensor)

Fill sensor_t function pointers and write the default register set.

Returns
0 on success
中文文档