Arduino Software Support

Print

Using the interface with Arduino Uno / Nano

Download and install the latest version of the LocoNet library from within the Arduino IDE.

To make it work, modify the library as follows:

- open the Arduino library folder, then look for a file ln_config.h in the loconet/utility folder

- open ln_config.h and scroll to line 75. Uncomment the option LN_SW_UART_RX_INVERTED

- verify that option LN_SW_UART_TX_INVERTED in line 80 is uncommented as well.

- save the modified file

The LocoNet library is now ready to be used with the LocoNet Interface

 

Using the interface with ESP32 boards

Download the ESP32 Hybrid library from here: https://github.com/tanner87661/LocoNetESP32HB and install it in the Arduino IDE.