Open
Description
Thanks for providing this example, in fact the Raspberry Pi Pico C/C++ SDK is really incomplete in this regard!!!
Are interrupts like your library does really the only way to implement I2C slave on the Pico?
I need to do something like the following on my pico slave
while(true) {
prepare some stuff
write some_stuff to the i2c bus # ok to block
}
Of course I could change that code to use interrupt, but it becomes unnecessary more complicated, so I tried using i2c_write_blocking()
and i2c_write_raw_blocking()
but those do not seem to be working. Is it really so, or am I doing anything wrong?
Activity