(a)
(b)
Figure 9:
(a) PIC-based control circuit. (b) Flow chart.