analogRead should cast float?
markisus opened this issue · 1 comments
markisus commented
On my arduino uno, the analog pins are giving decimal data like '4.23' which I believe is a voltage reading. On line 175 in arduino.py, changing the int cast into a float cast makes the function usable. Otherwise it gives a constant 0 readout.
In any case, the cast exception should not be silently ignored?
markisus commented
My mistake I had some code loaded onto the arduino I forgot about