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 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.,