jacdac.flex

Submodules

Package Contents

Classes

FlexClient

A bending or deflection sensor.

class jacdac.flex.FlexClient(bus: jacdac.bus.Bus, role: str, *, missing_bending_value: float | None = None)

Bases: jacdac.bus.SensorClient

A bending or deflection sensor. Implements a client for the Flex service.

property bending: float | None

A measure of the bending., _: /

property length: int | None

(Optional) Length of the flex sensor, _: mm