Just a side project


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3321
Posted: 06:51am 02 Jun 2026      

If you look at the Hardware Details page in the manual GP14 and GP15 are I2C channel 2.
So all commands using System I2C on those pins need to start with I2C2.
System I2C is always Open so trying to open or close it it wont work.
Just use:-
I2C2 WRITE addr, option, sendlen, senddata [,sendata ..]
and
I2C2 READ addr, option, rcvlen, rcvbuf
As per Appendix B.

Someone else will have to help with the camera.
Edited 2026-06-02 16:54 by phil99