How to use the temperusb.TemperHandler 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 amorphic / braubuddy / braubuddy / thermometer / temper_usb.py View on Github external
def _get_temper_devices(self):
        """
        Internal method.

        Get attached TEMPer devices

        :returns: list of attached TEMPer devices
        :rtype: :class:`list` of :class:`temperusb.TemperDevice`
        """
        th = temperusb.TemperHandler()
        temper_devices = th.get_devices()
        return temper_devices

temperusb

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

GPL-3.0
Latest version published 1 year ago

Package Health Score

51 / 100
Full package analysis