My own implementation of DCC on an AVR