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, PULSE, FADE_IN, FADE_OUT speed: int value from 1-10, which represents the speed of the pattern. 1 is slowest, 10 is fastest. Default value is 5.
from CoDrone_mini import Mode
drone = CoDrone_mini.CoDrone()
time.sleep(1) # to prevent skipping the LED command
drone.LED_pattern(0, 100, 0, Mode.PULSE, 5)