Converted and tested on Jeenode Micro (Mike and Tim)