How to use the temperusb.temper.TemperDevice function in temperusb

To help you get started, we’ve selected a few temperusb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github padelt / temper-python / temperusb / temper.py View on Github external
def __init__(self):
        self._devices = []
        for vid, pid in VIDPIDS:
            self._devices += [TemperDevice(device) for device in \
                usb.core.find(find_all=True, idVendor=vid, idProduct=pid)]
        LOGGER.info('Found {0} TEMPer devices'.format(len(self._devices)))

temperusb

Reads temperature from TEMPerV1 devices (USB 0c45:7401)

GPL-3.0
Latest version published 1 year ago

Package Health Score

54 / 100
Full package analysis