Calum Knott


I'm currently employed by Didactic Services, a FESTO Partner, as a Senior Applications Engineer.
I'm currently the WorldSkillsUK Mechatronics Training Manager
I'm also a Visiting Lecturer at Middlesex University
Occasionally I can be persuaded to Freelance!

Contact Me


These posts are archived
They were written with an old blogging platform, and are no longer really maintainable, however as they are linked too from various pages on the web - it seemed a good idea to try and archive them. I have written just enough code to get them to display - but there will probably be a few broken links and images.
Any major queries - feel free to contact me

Python/Javascript MultiMap

27 / 1 / 2015

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