Page 1 of 1
PWM notice
Posted: Thu Dec 30, 2021 11:41 pm
by alanwms
Can you tell me if there is a method to signal when the PWM output toggles from low to high or high to low?
FC9
PIC24fj64GB002
Re: PWM notice
Posted: Fri Dec 31, 2021 11:55 am
by Steve-Matrix
Looking at p165 of that
chip's family datasheet, it seems an interrupt is available for the PWM module. You will probably need to create a custom interrupt for dealing with this, which means understanding the datasheet requirements and coding the appropriate C-code.