Pulse Width Modulation with Hitech C

Status
Not open for further replies.

seunatoki

Newbie level 6
Joined
Jan 3, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
87
Hi All,
Please how can I generate PWM using Hitech C on PIC16f88, with frequency of 500KHZ and Duty cycle of 56% ?
Thanks
 

U require software coding & hardware for this.
What is crystal value u use as it depend on crystal. Use crystal 20 Mhz & PR2=9.
 

I don't just know how to start as I am new to C programming. I would appreciate if you could put me through from scratch on how to generate it.
Cheers
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…