arm_default_pattern()
#
DescriptionThis function sets the default color of the arm 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:
arm_default_pattern(color, mode)
arm_default_pattern(color, mode, speed)
arm_default_pattern(red, green, blue, mode)
arm_default_pattern(red, green, blue, mode, speed)
Arduino:
armDefaultPattern(color, mode)
armDefaultPattern(color, mode, speed)
armDefaultPattern(red, green, blue, mode)
armDefaultPattern(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