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

Method led_rgb

tests/test_pager_code.py:317–319  ·  view source on GitHub ↗

Set D-pad LED color.

(self, button, r, g, b)

Source from the content-addressed store, hash-verified

315 self._led_states[name] = brightness
316
317 def led_rgb(self, button, r, g, b):
318 """Set D-pad LED color."""
319 self._led_states[button] = (r, g, b)
320
321 def led_dpad(self, direction, color):
322 """Set D-pad LED from 0xRRGGBB color."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected