eye_default_pattern()
#
DescriptionThis function sets the default color of the eyes LED lights to flash in a particular pre-set pattern at a given speed, which means the lights will remain in that color and pattern when powered off and back on.
#
SyntaxPython:
eye_default_pattern(color, mode)
eye_default_pattern(color, mode, speed)
eye_default_pattern(red, green, blue, mode)
eye_default_pattern(red, green, blue, mode, speed)
Arduino:
eyeDefaultPattern(color, mode)
eyeDefaultPattern(color, mode, speed)
eyeDefaultPattern(red, green, blue, mode)
eyeDefaultPattern(red, green, blue, mode, speed)
#
Parameterscolor: an enum, which can be set using predefined colors out of the list below in "Example Code" under "LED Color Options"
red: int value from 0 to 255
green: int value from 0 to 255
blue: int value from 0 to 255
mode: an enum, which can be selected from the following predefined list: BLINK, DOUBLE_BLINK, DIMMING
speed: int value from 0-255, which represents the speed of the pattern. 255 is slowest, 0 is fastest
#
ReturnsNone