摘要 |
The method includes a main routine in which a time of relay ON or OFF is detected by one-second flag and during-cooking flag and a first counter value is stored in a memory, and an interrupt routine in which a relay is controlled according to the relay ON or OFF time if the first and second counter values are equal, thereby maximizing the duration of relay contact.
|