Re: Hwpw
first question how do you get the code box to post into
https://www.picbasic.co.uk/forum/showthread.php/19594
I did change the numbering to BIN so when looking in the manual I could line things up with the proper bits
it can be informative for some registers for most its just unnecessary clutter
its certainly not helped you get this correct
CCPTMRS0 = %1011010 ; TIMER6 = CCP1, TIMER4 = CCP3
setting C2TSEL<1:0>: CCP2 Timer Selection bits to %11 "reserved" is not a good practice
CCPTMRS0 = %01000010 ; TIMER6 = CCP1, TIMER4 = CCP3 is preferable
Warning I'm not a teacher
Bookmarks