module documentation

Neopixel animation helper for Stick firmware

Function automatic Automatic neopixel animation setter.
Function disabled Disable all leds on neopixel
Function rainbow Plays rainbow animation on neopixels.
Function refresh_counters Refreshes cache and frame counters
Function static Sets static color on all neopixels.
Variable anim_style Undocumented
Variable b Undocumented
Variable enabled Undocumented
Variable g Undocumented
Variable r Undocumented
Function _WHEEL Undocumented
Constant _CACHE_COUNT Undocumented
Constant _RAINBOW_FRAME_COUNT Undocumented
def automatic(use_cache: bool = False) -> int:

Automatic neopixel animation setter. Args: use_cache (bool, optional): Use cached values, default False Returns: int: Animation type

def disabled():

Disable all leds on neopixel

def rainbow():

Plays rainbow animation on neopixels.

def refresh_counters():

Refreshes cache and frame counters

def static(r: int, g: int, b: int):

Sets static color on all neopixels. Args: r (int): R color in RGB g (int): G color in RGB b (int): B color in RGB

anim_style =

Undocumented

b =

Undocumented

enabled =

Undocumented

g =

Undocumented

r =

Undocumented

def _WHEEL(pos):

Undocumented

_CACHE_COUNT: int =

Undocumented

Value
0
_RAINBOW_FRAME_COUNT: int =

Undocumented

Value
0