Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ESP32_I2S_Camera/OV7670.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void OV7670::frameControl(int hStart, int hStop, int vStart, int vStop)
void OV7670::QQQVGA()
{
i2c.writeRegister(ADDR, REG_COM3, 0x04); //DCW enable
i2c.writeRegister(ADDR, REG_COM14, 0x1b); //pixel clock divided by 4, manual scaling enable, DCW and PCLK controlled by register
i2c.writeRegister(ADDR, REG_COM14, 0x1b); //pixel clock divided by 8, manual scaling enable, DCW and PCLK controlled by register
i2c.writeRegister(ADDR, REG_SCALING_XSC, 0x3a);
i2c.writeRegister(ADDR, REG_SCALING_YSC, 0x35);
i2c.writeRegister(ADDR, REG_SCALING_DCWCTR, 0x33); //downsample by 8
Expand Down