API Reference
adafruit_dymoscale
CircuitPython interface for DYMO scales.
Author(s): ladyada
Implementation Notes
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- class adafruit_dymoscale.DYMOScale(data_pin: Pin, units_dio: DigitalInOut, timeout: float = 1.0)
Interface to a DYMO postal scale.
- get_scale_data() ScaleReading
Reads a pulse of SPI data and analyzes the resulting data.
- toggle_unit_button(switch_units: bool = False) None
Toggles the unit button on the dymo. :param bool switch_units: Simulates pressing the units button.
- property weight: ScaleReading
Weight in grams
- class adafruit_dymoscale.ScaleReading
Dymo Scale Data