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

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading