Made the command sent to the Arduino a bit more robust

And better suited to future expansion beyond 8 relays...