Mehmood Ahmed
New Member
Hi
I am new to PIC MCU Family i have started learning pic using CCS C Compiler
and working on a self assigned project of generation of 50Hz sinewave using PWM...for some reason I want to use TIMER1 to update duty cycle of PWM as to produce sinewave but i am not able to generate desired time delay not even able to change time delay from a fixed period. This is my special request to Nigel Goodwin to help me out.
Thanx
Correction: the mcu is PIC18F252 not PIC18F242
I am new to PIC MCU Family i have started learning pic using CCS C Compiler
and working on a self assigned project of generation of 50Hz sinewave using PWM...for some reason I want to use TIMER1 to update duty cycle of PWM as to produce sinewave but i am not able to generate desired time delay not even able to change time delay from a fixed period. This is my special request to Nigel Goodwin to help me out.
Thanx
Correction: the mcu is PIC18F252 not PIC18F242
Last edited: