I have used following to turn off HPWM.
Don't know if that is right way to do it, but it is workingCode:<body><!--StartFragment--><pre><code><font color="#000000"> CCP1CON = %00000000 T2CON.2 = 0 </code>
It would be nice to hear if there is some better way to do that.
BR,
-Gusse-
Bookmarks