
Bill Felker
Moderator: Benj
Code: Select all
osccon=0x60;
Bill Felker wrote:OK after playing with this for a while I noticed that if I get a fail the relay on (green LED) comes on but if the phase fail goes away the only way to turn off the Green LED is to power off or reset the program.
Ahh, sorry I thought you meant remove supply to microcontroller, not the phases.Bill Felker wrote:The relay is still ON until either the power is restored or the system is turned off to fix.
Microcontrollers like PC's can get corrupt and freeze.Bill Felker wrote: am new to this and I guess I do not really understand the WDT all that well
Code: Select all
MX_CLEAR_WATCHDOG;