INNER CODE UNIT · Python

terrariumButtonUpdateException

theyosh/TerrariumPI · hardware/button/__init__.py:33

class terrariumButtonUpdateException(terrariumButtonException):
    pass


# Factory class
class terrariumButton(object):
    HARDWARE = None
    NAME = None

    RELEASED = 0
    PRESSED = 1

    @classproperty
    def available_hardware(__cls__):
        return terrariumUtils.loadHardwareDrivers(__cls__, __name__, __file__, "*_button.py")

    @classproperty
    def available_buttons(__cls__):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…