## Linear Mapping of Input Range to Output Range

Whenever you mix sensor input values and electronics, you always get a situation where the data read from the sensor needs to be interpreted or changed or scaled to be used by your control software.

Mapping or scaling a linear range of input values to a linear range of output values is as easy as: $y=mx+c$