VL53L4CD on Arduino Uno

OP #7596082
Lesenswert?

Hello fellow forum members,

I've been experimenting with the Example Program for VL53L4CD on Arduino Uno to measure distances. While the program is functional, it doesn't quite meet my requirements. Specifically, I'm aiming to display distance values with at least two decimal places. I've attempted to modify both the header file and the main program to use floating-point numbers, but unfortunately, it didn't yield the desired outcome.

Could anyone advise me on how to achieve this? Is it possible to obtain decimal precision with this setup, and if so, what steps should I take to implement it successfully?

Thank you in advance for your assistance.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren