Change max value of potentiometer


hello everyone!

i'd know if there function or way define min , max value potentiometer, example: i'm using mechanical part tour potentiometer little bit, means potentiometer doesn't start in beginning , doesn't finish in end. so, how can make space potentiometer tour means 0 255 start end, respectively?

simple answer map()

example map function


Arduino Forum > Using Arduino > Programming Questions > Change max value of potentiometer


arduino

Comments

Popular posts from this blog

ffmpeg h264_omx encoder - libomxcore.so missing. - Raspberry Pi Forums

'setTime' was not declared in this scope

php - Class PDO not found in laravel 5.2 -