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 Optional[bool]

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

property variant Optional[jacdac.solenoid.constants.SolenoidVariant]

(Optional) Describes the type of solenoid used.,