I’m having some trouble communicating with the Arduino over I2C.
We’re planning to use it for LED strips, since almost all our PWM slots are taken. But most examples I find online use Java, not Python. Is there any way to easily write a string over I2C? For example, writing something like “rgb,10,0,255” would turn on the RGB strip.
Second part– I admit the docs aren’t super clear here, but it wants you to pass it a list of things that can be converted to bytes… so either integers or a bytestring.
wire.transaction(b'go', 0)
I’m pretty sure that’ll work.
It’s weird that the java code isn’t trying to receive any data (maybe writeBulk is more appropriate?).