Firmware for olimex modio, derived from the original code kindly provided by olimex.com