eye_pattern()
#
DescriptionThis function sets the color of the eye LED lights to flash in a particular pre-set pattern at a given speed.
#
SyntaxPython:
eye_pattern(color, mode)
eye_pattern(color, mode, speed)
eye_pattern(red, green, blue, mode)
eye_pattern(red, green, blue, mode, speed)
Arduino:
eyePattern(color, mode)
eyePattern(color, mode, speed)
eyePattern(red, green, blue, mode)
eyePattern(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