Microflow studio

Map

Transformation

Transforms a number from one range to another.

For example mapping the number 50 which is in the range of 0 to 100 to the range of 0 to 10 would result in 5.

Simple mapping of values from 0-100 to 0-10

Mapping a number does not always have to be linear. You can map any input range to any output range.

Complex mapping of values from 30-80 to 28-115

As seen in the example above, the output can also be a range that is outside of the input range.

Resources

Previous
LED
Next
MQTT