my own dcc signal generator implementation inspired on
https://github.com/condac/Arduino-traintable core.