Open maxhambraeus opened 1 year ago
Update: works fine with an Arduino, so neither my wiring or the sensor itself is at fault here.
Hello, is there any update on that?
Today I checked it on my setup. The code is exactly the same as @maxhambraeus's one. Works with Arduino, but not with the embassy. I plan to check with an oscilloscope tomorrow, and hopefully, I'll have more information about it.
This is the code: (pretty much the readme example, modified slightly for embassy)
It compiles fine with cargo version 1.67.0 nightly, but when it is ran on a raspberry pi pico W it panics at line 30, because the
wire.search_next
isNone
. I think my wiring is correct, as if I remove the pullup resistor (10k ohm) it complains about a missing pullup.