Code for Arduino DCC output