Just made a vanilla abstraction for scaling number streams, based on Arduino's map function.
Get it here https://github.com/alexandros301/map/tree/master
cheers
Map - vanilla abstraction for number stream scalling
Just made a vanilla abstraction for scaling number streams, based on Arduino's map function.
Get it here https://github.com/alexandros301/map/tree/master
cheers
I made an improvement to the abstraction (I've placed the division in another place and it doesn't need to happen for every incoming number, so it should be "lighter"...
Plus, made a minor correction in the help patch. Download again if you like...
Oops! Looks like something went wrong!