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

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'