
Originally Posted by
ChrisHelvey
Just for the record. I followed through on this and the above idea (using the comparator) works great on a 16f877A with a 20Mhz crystal.
I just tied the output of the HPWM pin to the Comparator input.
Glad you got it working.
I struggled with setting the registers properly because that part is still a bit greek to me
Tip! - Download the English version of the Datasheet
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks