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

Method led_dpad

tests/test_pager_code.py:321–323  ·  view source on GitHub ↗

Set D-pad LED from 0xRRGGBB color.

(self, direction, color)

Source from the content-addressed store, hash-verified

319 self._led_states[button] = (r, g, b)
320
321 def led_dpad(self, direction, color):
322 """Set D-pad LED from 0xRRGGBB color."""
323 self._led_states[direction] = color
324
325 def led_all_off(self):
326 """Turn off all LEDs."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected