Source code for pyniryo2.led_ring.enums

from enum import Enum, unique


[docs]@unique class AnimationMode(Enum): """ Enumeration of animations available for the user to control the Led Ring """ NONE = -1 UNKNOWN = 0 SOLID = 1 FLASHING = 2 ALTERNATE = 3 CHASE = 4 COLOR_WIPE = 5 RAINBOW = 6 RAINBOW_CYLE = 7 RAINBOW_CHASE = 8 GO_UP = 9 GO_UP_AND_DOWN = 10 BREATH = 11 SNAKE = 12 CUSTOM = 13
[docs]class LedMode(Enum): """ Enumeration of available Led Mode """ NONE = -1 UNKNOWN = 0 ROBOT_STATUS = 1 USER = 2