v0.2.0 — Click codegen, CircuitPython deployment, and VS Code debugger
Highlights
Click ladder codegen — Round-trip between pyrung programs and Click ladder CSV. Export with pyrung_to_ladder(),
import with ladder_to_pyrung(), or generate a full Python project from existing Click programs with
ladder_to_pyrung_project(). Pairs with ClickNick for clipboard I/O.
CircuitPython split output — Code generation now produces code.py (your program) and pyrung_rt.py (shared
runtime). Regenerate code.py when logic changes; the runtime stays the same. Retentive tags auto-save to SD every
30s with crash-safe writes.
Modbus everywhere — CircuitPython codegen supports Modbus TCP server and client. Raw Modbus TCP/RTU from core for
talking to non-Click devices. Two pyrung programs can talk to each other.
VS Code debugger — Debug Adapter Protocol extension for stepping through ladder logic in VS Code. Set breakpoints,
inspect tag values, and use logpoints/monitors. Install the bundled .vsix from this release.
See CHANGELOG.md for the full list of breaking changes,
new features, and migration steps.
Assets
- pyrung_rt.mpy — Pre-compiled CircuitPython runtime for P1AM-200. Drop into
CIRCUITPY/lib/instead of
pyrung_rt.pyfor faster boot and lower memory use. Compiled with mpy-cross 8.2.3. - pyrung-debug-0.1.0.vsix — VS Code extension for debugging pyrung programs. Install with
code --install-extension pyrung-debug-0.1.0.vsix.