PicoCamera
0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Toggle main menu visibility
Loading...
Searching...
No Matches
ov7670.h
Go to the documentation of this file.
1
/*
2
* This file is part of the PicoCamera project.
3
* https://github.com/umeiko/PicoCamera
4
*
5
* Author: umeko <umeko@stu.xmu.edu.cn>
6
* License: MIT
7
*/
8
15
#pragma once
16
17
#include "
../sensor.h
"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#define OV7670_SCCB_ADDR 0x21
// 0x42 >> 1
24
#define OV7670_PID 0x76
25
30
int
ov7670_detect
(sensor_t *sensor);
31
36
int
ov7670_init_sensor
(sensor_t *sensor);
37
38
#ifdef __cplusplus
39
}
40
#endif
ov7670_detect
int ov7670_detect(sensor_t *sensor)
Probe the bus for an OV7670. On success fills sensor->id.
Definition
ov7670.cpp:299
ov7670_init_sensor
int ov7670_init_sensor(sensor_t *sensor)
Fill sensor_t function pointers and write the default register set.
Definition
ov7670.cpp:318
sensor.h
Common camera sensor types, aligned with esp32-camera's sensor.h (subset).
中文文档
Generated by
doxygen
1.18.0