hello , i made a program on pic 16f877 that generates a variable pwm (with a potentiometer) , i will use it to control a dc motor (h bridge)
but now i have this deadtime problem , on pic18f4331 there's this option of an output of 2 complementary pwms with this dead time thing
can someone write me any sample code of this , a normal code that generates a pwm and its complementary on 2 pins with a deadtime
any sample code with any number for frequency and dead time will help
i am just trying to modify my pic 16f877 code to work on 18f4331 and add this dead time to it
but now i have this deadtime problem , on pic18f4331 there's this option of an output of 2 complementary pwms with this dead time thing
can someone write me any sample code of this , a normal code that generates a pwm and its complementary on 2 pins with a deadtime
any sample code with any number for frequency and dead time will help
i am just trying to modify my pic 16f877 code to work on 18f4331 and add this dead time to it
Last edited: