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

Method led_set

tests/test_pager_code.py:313–315  ·  view source on GitHub ↗

Set LED brightness (0-255).

(self, name, brightness)

Source from the content-addressed store, hash-verified

311
312 # ========== LEDS ==========
313 def led_set(self, name, brightness):
314 """Set LED brightness (0-255)."""
315 self._led_states[name] = brightness
316
317 def led_rgb(self, button, r, g, b):
318 """Set D-pad LED color."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected