mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Make OV7670 CLKRC configurable.
This commit is contained in:
parent
8a01049f0e
commit
b4eef0c5b6
@ -49,6 +49,9 @@
|
||||
// Set which OV767x sensor is used
|
||||
#define OMV_OV7670_VERSION (75)
|
||||
|
||||
// OV7670 clock divider
|
||||
#define OMV_OV7670_CLKRC (0x01)
|
||||
|
||||
// Enable sensor features
|
||||
#define OMV_ENABLE_OV5640_AF (0)
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
static const uint8_t default_regs[][2] = {
|
||||
// OV7670 reference registers
|
||||
{ CLKRC, 0x01 }, // Input clock / 2
|
||||
{ CLKRC, OMV_OV7670_CLKRC },
|
||||
{ TSLB, 0x04 },
|
||||
{ COM7, 0x00 },
|
||||
{ HSTART, 0x13 },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user