I noticed in line 135 in pwm.c, in the _IC6Interrupt() routine, it states the following:
- Code: Select all
if (PORTDbits.RD12 == 0)
which should be:
- Code: Select all
if (PORTDbits.RD13 == 0)
in order to look at port IC6 instead of IC5.
Kind regards,
Peter Tambach