Skip to main content

set drone LED color to [color], and pattern to [pattern] with a speed of [speed]

Block#

LED color image

Description#

Sets the color of CoDrone Mini's LED blinking pattern. "Blink" flashes the LED on and off and an interval determined by the speed parameter. "Double blink" flashes the LED twice before pausing at the interval determined by the speed parameter.

Parameters#

LED color params color: select a color from the color palette
pattern: blink or double blink
speed: Select a positive integer from 1 to 10

Returns#

None

Example#

LED color example