TimeOfFlight getRange() method not working

I have built my code, and it always fails and gives me a consistent error message

If I had to guess, you aren’t using the 2023 library for the sensor.

1 Like