![]() |
PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
|
GitHub |
GC0308 sensor driver (8-bit SCCB register addresses). 更多...
#include "../sensor.h"宏定义 | |
| #define | GC0308_SCCB_ADDR 0x21 |
| #define | GC0308_PID 0x9B |
函数 | |
| int | gc0308_detect (sensor_t *sensor) |
| Probe the bus for a GC0308. On success fills sensor->id. | |
| int | gc0308_init_sensor (sensor_t *sensor) |
| Fill sensor_t function pointers and write the default register set. | |
GC0308 sensor driver (8-bit SCCB register addresses).
The GC0308 has no JPEG encoder: RGB565 only, up to VGA (640x480).
| int gc0308_detect | ( | sensor_t * | sensor | ) |
Probe the bus for a GC0308. On success fills sensor->id.
| int gc0308_init_sensor | ( | sensor_t * | sensor | ) |
Fill sensor_t function pointers and write the default register set.