# Flight Core LEDs

Source: https://forum.modalai.com/topic/134/flight-core-leds
Category: Flight Core and Legacy VOXL (https://forum.modalai.com/category/9/flight-core-and-legacy-voxl)
Tags: flight-core
Posted: 2021-02-17 01:44:03 UTC by Andrew Keefe
Replies: 2 · Views: 941

## Andrew Keefe · 2021-02-17 01:44:03 UTC

Is there documentation somewhere on how to manually control the LEDs on the flightcore?

## Reply by modaltb (ModalAI staff) · 2021-02-17 01:54:13 UTC

Hi Andrew,

Here's an example that we use to go through the LEDs during board testing, this isn't exposed really but if you want to modify code here's how to toggle them:

https://github.com/modalai/px4-firmware/blob/modalai-1.11/src/systemcmds/modalai/modalai.c#L251

Let me know if you need anything else!

-Travis

## Reply by Andrew Keefe · 2021-02-22 17:15:25 UTC (in reply to modaltb)

Thank you @modaltb. I was able to control the LED with my code (yellow = waiting for serial, blue = data valid, red = data not valid).
