Crate roco_z21_driver

Crate roco_z21_driver 

Source
Expand description

This crate provides asynchronous communication with a Roco Fleischmann Z21 station. It implements a reusable approach for sending and receiving asynchronous commands to and from the Z21 station.
The crate is based on the Tokio runtime.

§Features

  • Interacting with system state of Z21
  • Loco and peripheral control.
  • CV programming.
  • Asynchronous, subscription-based event handling.
  • Error handling.
  • Ready to use driver for integration into other projects.

Modules§

messages

Structs§

Loco
Represents a DCC Locomotive that can be controlled via a Z21 station.
Z21Station
Represents an asynchronous connection to a Z21 station.