please help with 12f683 pwm code

Status
Not open for further replies.

haidar ayad

Newbie level 1
Joined
May 21, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,289
Hi..
please I have this :


this circuit with pic16f628a provide PWM wave from pin 11 and the inverter of this pwm wave from pin 12 ....and this is the hex file for this :
http://www.instructables.com/files/orig/FYU/ZEM6/HAQ35NKG/FYUZEM6HAQ35NKG.hex

Now ,,, I need to help me to write the same this code to pic12f683 ....
please anyone help me ? write this code to me with 12f683 ?


this is the frequency for the circuit :
3.1Khz


Note:
From the pwm wave in hex file we find the F=3.12KHz >>>then the T=0.32m sec.
and from the same hex file we find the max Time or Ton=0.305m sec. so minimum time or Toff=0.015m sec.
then :
0.015m+0.305m=0.32m sec=>> F=3125Hz


**broken link removed**


in microc ok
 

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…