Power shield reference [Solved]

I purchased the power shield and would like to use it as a monitor when power is off. I tried using the D3 pin alert (soldered) to see if an alert is raised but I am missing the API for setting the sensitivity.

Any help would be great. Ideally I would like to tell whether I am running off the USB or Battery.

Have you seen the Power Shield library

And the datasheet for the controler, to understand what the parameter for setAlertThreshold(byte threshold) means


Thank you - seems this is exactly what I needed!!

1 Like