Hi Picers

What would be the easiest way to detect a power failure using a PIC?

Thank you

Koossa