
Mains power detection circuit
Code used for microcontroller: The uC used was a pic18f14k50. Code compiled using xc8 compilter. Read analog channel function taken from batchloaf’s template code post. Here is the source code:
fast documentation of hardware and software projects
Code used for microcontroller: The uC used was a pic18f14k50. Code compiled using xc8 compilter. Read analog channel function taken from batchloaf’s template code post. Here is the source code: