Python/Javascript MultiMap

As part of a recent project I have been doing, I needed to map non linear variables. I found this nice example over on the arduino website, and ported it to python. Nothing too complex, but hopefully usefull for some poeople

Python MultiMap Function

Javascript MultiMap Function

Original Arduino

By Calum Knott

Help me buy a Coffee!