MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / led_set

Method led_set

pager/pagerctl.py:476–478  ·  view source on GitHub ↗

Set LED brightness (0-255). Names: 'a-button-led', 'b-button-led

(self, name, brightness)

Source from the content-addressed store, hash-verified

474
475 # LEDs
476 def led_set(self, name, brightness):
477 """Set LED brightness (0-255). Names: 'a-button-led', 'b-button-led'"""
478 _lib.pager_led_set(name.encode(), brightness)
479
480 def led_rgb(self, button, r, g, b):
481 """Set D-pad LED color. Buttons: 'up', 'down', 'left', 'right'"""

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected