After finishing the electronics it is time to work on the software. Since the train automator runs on an Arduino Nano, it’s time to fire up Visual Studio Code and start typing some C++.