Open gigapod opened 10 months ago
Don't have a proper Arduino library, just example sketches in the hardware repo. This example appears to have almost bare minimum code required for functionality (plus showing on an OLED display).
Looks like the STM8 on board is programmed with a default address of 0x00, which is likely going to cause problems because it's the general call address. I'm surprised we don't have complaints about that, that's pretty bad practice.
Ok, ended up making an actual Arduino library for this, then converted that to Python. Also, we'll be updating the firmware on the STM8 to use a default value of 0x2F moving forward. Users can change the address using example 2. @faludi Please let me know if you run into any issues with this!
Having trouble accessing the link above (https://github.com/sparkfun/Qwiic_Ultrasonic_Py). I get a 404 error. Is it a private repo?
Not any more - now public
Board
SparkFun Qwiic Ultrasonic Distance Sensor - HC-SR04
Notes
Driver