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, units_pin, timeout=1.0)¶ Interface to a DYMO postal scale.
-
get_scale_data()¶ Reads a pulse of SPI data and analyzes the resulting data.
Toggles the unit button on the dymo. :param bool switch_units: Simulates pressing the units button.
-
weight¶ Weight in grams
-
-
class
adafruit_dymoscale.ScaleReading¶ Dymo Scale Data