Arduino code for the ERGO project EtherMega board