Grove Ultrasonic Sensor - Grove Micro:bit & MicroPython

I’ve purchased a Grove Kit with the plan to buy a class set. However, the lack of micropython examples is making me a bit nervous.

Is anyone able to provide an example of how to to get the Grove Ultrasonic Sensor & Grove Microbit Shield returning distance in cm?

Have a look at the grove GitHub repository for micropython. The doc folder has examples.

1 Like