Copy the python (.py) files from the lib and rp2dcc directories to the Pico using Thonny or similar. Don’t replicate the repository directory structure. Copy the files from both directories to the lib directory at the Pico files system top level. Note that MicroPython will only search the top level directory and the lib directory for *.py files. Don’t bother with the __init__.py files. These are purely documentary at the moment. Also ignore the test directory.
The screen driver will object if it can’t find the OLED on the i2c bus. Most 0.91” OLEDs include i2c pull-ups so these should not be needed.
Copy the files from the conf directory to a directory on the Pico named conf. Edit the configuration files after copying.
The main.py in the examples/command directory is a command station version. It provides MQTT connectivity allowing the command station to be controlled from JMRI or similar. Copy this main.py from the command directory to the top level directory on the target device.
The main.py scripts in the dual_, and quad_ local_detect directories are the block detector versions. They monitor two and four blocks respectively.
They provide MQTT connectivity allowing the block detector to report to JMRI or similar. Copy the main.py from the dual or quad directory to the top level directory on the target device.