Closed sandric closed 2 years ago
Hi,
Obviously the issue that Wire is redefined in SoftWIre.h - I could remove it myself changing library on my machine, but thought mb there's better way to do this?
No, that would be the only way out. However, you could decide to use a different communication mechanism to talk with the raspi, e.g., serial communication.
Best, Bernhard
Yeah, I redefined and all works great. As for uart - I left only 1 software i2c after DPI screen took all but 6 gpio's hehe, but it works with redefenition anyways.
Hi, I tried to use
SoftWire.h
wrapper in my code, together withreal
i2cWire.h
library as a slave - the idea there is that I need to read slave i2c devices (with software i2c master) with arduino, and then send computed result to raspberrypi with slave hardware i2c line. But I have an error at compilation:Below is my code:
Obviously the issue that Wire is redefined in SoftWIre.h - I could remove it myself changing library on my machine, but thought mb there's better way to do this?