+ 10
How to limit potentiometer values to be between 0 and 5 in python?
4 Antworten
+ 3
I'm guessing you're talking about a raspberry py here?
You can use the map function to map the analog value of the potentiometer to a value between 0 and 5
+ 5
Lothar those values came from Arduino Nano and written in Serial monitor and we want to read using RPi 3 and limit them Raspberry pi 3 an
+ 3
Zhenis, I think this needs a bit more information:
- where does these values come from?
- Are these values stored, and if so - where?