Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.2 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.2 KB

pico-alink

A Raspberry Pi Pico DCC command station implementation for testing.

Compatible with the Waveshare RP2040-LCD-0.96, set LCD_LOGGER to lcd_rp2040lcd096 in config.py to enable.

Debug menu can be accessed by sending ~ to the device using mpremote.

Installation

  1. Install mpremote.
  2. Connect your Raspberry Pi Pico.
  3. Run install.py.
  4. Disconnect and reconnect your Pico.

Debug Loco

It is possible to invoke debug functions by sending function requests to loco id 9999. The supported functions are:

Function Type Action
F0 Trigger Write current run time stats to log.
F1 Latch Toggle onboard LED.
F26 Latch Simulate device error. Set loco speed to specify the number of seconds to wait before entering the error state.
F27 Trigger Delete boot.py from Pico file system.
F28 Trigger Exit the Python script.