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
PWM notice
-
- Posts: 133
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 2:29 pm
- Has thanked: 26 times
- Been thanked: 7 times
-
- Matrix Staff
- Posts: 1471
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 348 times
Re: PWM notice
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.