jacdac.solenoid.client

Module Contents

Classes

SolenoidClient

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

class jacdac.solenoid.client.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.,