Classes
LED
LED()
Used to set color/intensity of one LED in the LED-ring
Initialize to off
Methods
def set(self, r, g, b, intensity=None)
Set the R/G/B and optionally intensity in one call
LEDDriverMemory
LEDDriverMemory(id, type, size, mem_handler)
Memory interface for using the LED-ring mapped memory for setting RGB values for all the LEDs in the ring
Initialize with 12 LEDs
Ancestors (in MRO)
Methods
def disconnect(self)
def new_data(self, mem, addr, data)
Callback for when new memory data has been fetched
def update(self, update_finished_cb)
Request an update of the memory content
def write_data(self, write_finished_cb)
Write the saved LED-ring data to the Crazyflie
def write_done(self, mem, addr)