This article shows how to connect external LEDs.
External LED for Pixhawk
An external Pixhawk LED can be added by connecting it to the Pixhawk’s
I2C port. Because most users use an Ublox GPS and Compass module,
an I2C splitter
is recommended. Once connected the similar LED on the center of the
Pixhawk will no longer light up.