Hello everyone,
I am planning on using a pic with multiple PWM (around 4PWM) . I was looking into the PIC18F4220 which has up to 4 PWM modules. I have just checked to see if pbp supports this controller and it does. I am currently using PBP version 2.45. I have also read the section on HPWM in the compiler and it does not mention anything about how to execute 4 HPWM channels. in the product data sheet it mentions that the pin associated with each of the PWM channels are the following
PWM OUTPUT 1A --> PORTC.3
PWM OUTPUT 1B --> PORTD.5
PWM OUTPUT 1C --> PORTD.6
PWM OUTPUT 1D --> PORTD.7
here is what I am wondering, how do i write code so that I can utilize each of the PWM module. becasue I plan to use all of the four module. Any help with code examples would be greatly appreciated. many thanks in advance
srigopal
Bookmarks