Nuacht

Using the PWM allows fine controlof the comparator reference voltage. The PWM signal is filtered with anRC filter to produce an analogue voltage and is connected to thenegative comparator input pin.