Ultrasonice Ranger nothing happening

I am trying to use the Grove Ultrasonic Ranger (v2.0), with the GrovePi+ hat on a raspberrypi 3b+. The device is detected when using ‘sudo i2cdetect -y 1’, but, when I run the program, nothing happens. I do not get an error, nor does anything print. It is as if the program is running, but stuck, and not giving an error. I am using the default code provided. How can I get this to work?