Beispiel-Sketch für einen DCC-Zubehör-Decoder:

 

https://dimo.vgbahn.de/2023Heft4/arduino/NmraDccAccessoryDecoder_1_DiMo.ino

 

Geschwindigkeitsampel:

 

https://dimo.vgbahn.de/2023Heft4/arduino/NmraDccMultiFunctionDecoder_1_DiMo.ino