I had a PWM running on an earlier PIC24HJ device and tried to port the code to the P24F16KM204 but it won't simulate at all.All the registers are CCP1...... I have CCSEL=0, TMR32=0, Mod = 5, and then set CCPON. (I have XT with PLL selected for the device ..
↧