1 from Components.Element import Element
3 # this is not a GUI renderer.
4 class FrontpanelLed(Element):
5 def changed(self, *args, **kwargs):
14 open("/proc/stb/fp/led0_pattern", "w").write("%08x" % pattern)
15 open("/proc/stb/fp/led_pattern_speed", "w").write("%d" % speed)