Hello. I am trying to write an I2C API for communicating with the pixycam2. Specifically, I’m trying to figure out the best way to call getBlocks().
In the libpixyusb API, getBlocks() returns up to maxBlocks detected blocks. According to the porting guide, I can also request up to maxBlocks number of blocks over I2C. However, the response packet described in the porting guide is just for 1 block. Is the I2C interface only capable of returning 1 detected block even if I request more? Or would I need to send maxBlocks number of requests over I2C and then read maxBlocks responses? The documentation isn’t clear on this.