jacdac.solenoid

Submodules

Package Contents

Classes

SolenoidClient

A push-pull solenoid is a type of relay that pulls a coil when activated.

class jacdac.solenoid.SolenoidClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

A push-pull solenoid is a type of relay that pulls a coil when activated. Implements a client for the Solenoid service.

property pulled: bool | None

Indicates whether the solenoid is energized and pulled (on) or pushed (off).,

property variant: jacdac.solenoid.constants.SolenoidVariant | None

(Optional) Describes the type of solenoid used.,