It would be preferable to have the readings from the distance sensors be of type int instead of float. Currently, a reading of 112cm is returned as 112.00. It should be 112.
It would be preferable to have the readings from the distance sensors be of type int instead of float.
Currently, a reading of 112cm is returned as 112.00. It should be 112.