Just a side project


Author Message
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2137
Posted: 06:01am 02 Jun 2026      

Ok to explain this in more detail a few years ago I made up a piggyback Zero board for a OV7670 camera, today I finally brought it out to see if I could get it working.

So to get started we just tried to get the zero slave to open but kept getting conflicts now it clearly states in the manual for I2C2 GP14 and GP15 are listed as suitable pins.

this is the slave code

'
OPTION EXPLICIT
OPTION DEFAULT NONE

CAMERA OPEN GP8, GP10, GP11, GP12, GP13, GP0
' capture frame
I2C OPEN 100, 1000    ' master mode, no SETPIN needed
' send chunks to display Zero
I2C CLOSE


Now before we get to I2C

[5] Camera OPEN GP8, GP10, GP11, GP12, GP13, GP0
Error : Invalid display type


claude did suggest to open on the slave zero I2C as a master so my camera open command is the same as the command in the manual

CAMERA OPEN XLKpin,
PLKpin, HSpin, VSCpin,
RETpin, D0pin


the XLK pin GP8, PLK pin GP10, HS pin GP11, VS pin GP13, D0 pin GP0

Regards Bryan