Thanks again, Henrik. Do you mean I should have:
before the CCP4CON register setting?Code:CCP4CON.4 = 0 CCP4CON.5 = 0 CCPR4L = 0
I will try that out tonight, as well as reducing the PAUSE statements.
Thanks again, Henrik. Do you mean I should have:
before the CCP4CON register setting?Code:CCP4CON.4 = 0 CCP4CON.5 = 0 CCPR4L = 0
I will try that out tonight, as well as reducing the PAUSE statements.
As usual, you were right Henrik. I added the code above right after turning on CCP/PWM on CCP4 and reduced all the pauses within the #IFDEF USE_LCD_FOR_DEBUG and now everything works as before. It was obvious once you pointed it out, so thanks again for being so patient.
Bookmarks