Hi I am using MCP1911x microcontroller. I want to generate a PWM in HDRV and LDRV to drive the MOSFET. It tried the following code , but it's not workingPWMRL = 0X0A; PWMPHL = 0X00; PR2 = 0X19; T2CON = 0X04; DEADCON = 0XAA; IDE : MPLAB X2.30Compiler : XC8..
↧