bentjh01 / MA4012_Ball_Fondlers

2 stars 0 forks source link

distance to cm haywire #47

Open ShaDowFrost2417 opened 5 months ago

ShaDowFrost2417 commented 5 months ago

somehow the equation to convert voltage to distance goes haywire.

suspect that it's cos the sensor value is read in integer. Need to convert to float first.