LED_color()
#
DescriptionThis function sets the LED color of the CoDrone Mini's LED using RGB values and their brightness with a value from 1 - 100. NOTE: If you're setting the LED right before a takeoff, make sure to add a time.sleep(1)
before the takeoff()
, otherwise the take off might be skipped.
#
SyntaxPython:
LED_color(red, green, blue, brightness)
#
Parametersred: int value from 0 to 255
green: int value from 0 to 255
blue: int value from 0 to 255
brightness: int value from 0 to 100, which represents the brightness of the light
#
ReturnsNone