MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / fill

Method fill

mpython/lib/optional/ws2812.py:64–66  ·  view source on GitHub ↗
(self,rgb)

Source from the content-addressed store, hash-verified

62 return self._rgblist[indx]
63
64 def fill(self,rgb):
65 for i in range(self.led_count):
66 self.__setitem__(i,rgb)
67
68 def write(self):
69 self.show(self._rgblist)

Callers

nothing calls this directly

Calls 1

__setitem__Method · 0.95

Tested by

no test coverage detected