This is a Marklin 6040 Keyboard converted to Loconet. - The original i2c PCB is removed and replaced with an Arduino's and a 16bit i2c MCP23016 port expander. - The PCA9685 handles all the LED's. The ...
The implementation makes use of GPIO and timer interrupts to receive and transmit LocoNet messages. Be aware that there are interrupt timing deviations when the radio of the ESP32 is acitive. This ...