Mirror the Charge Status LED?


#1

Is there a way to mirror the red charge status LED to a pin on the Electron? I want to have my LED external to the project box and I just can’t seem to find out if this possible. I assume it is as there’s a system in place to mirror the RGB LED.


#2

Hi @hugh,

I used this link to get the ‘state’ of the battery charging, it works well.

Using the state - you could then set flags to act in the same way.


#3

Thanks @Cameron! That does appear to be what I’m looking for.


#4

Thanks for the help!