arm_pattern()
#
DescriptionThis function sets the color of the arm LED lights to flash in a particular pre-set pattern at a given speed.
#
SyntaxPython:
arm_pattern(color, mode)
arm_pattern(color, mode, speed)
arm_pattern(red, green, blue, mode)
arm_pattern(red, green, blue, mode, speed)
Arduino:
armPattern(color, mode)
armPattern(color, mode, speed)
armPattern(red, green, blue, mode)
armPattern(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, PULSE, REVERSE_PULSE
speed: int value from 0-255, which represents the speed of the pattern. 255 is slowest, 0 is fastest.
#
ReturnsNone