Arduino Forum
scaling a range of numbers to another range
Forum 2005-2010 (read only)
General
Frequently-Asked Questions
mem
November 2, 2008, 8:19am
2
You want the map function:
http://arduino.cc/en/Reference/Map
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Scaling inputs to a range?
Programming
3
8106
May 5, 2021
Servo Library
Programming
4
1447
May 5, 2021
Come funziona il comando map(value, fromLow, fromHigh, toLow, toHigh)?
Software
4
33003
May 7, 2021
Basic doubt..in one of the example programs!
Programming
17
2570
May 5, 2021
super easy one - scaling
Syntax & Programs
3
946
May 6, 2021