View Full Version : How do i get pwm oscillator with pic16c56a
mubashir
- 13th May 2007, 15:45
ANYONE can help me to generate the program of a pwm 50 HZ oscillator for an inverter.
mister_e
- 13th May 2007, 17:09
Hi,
have a look at the following
http://www.picbasic.co.uk/forum/showthread.php?t=1846&highlight=power+inverter
mubashir
- 13th May 2007, 18:49
Hi
I tried on ur suggestions but i donot found any thing.
Best regards
mubashir
T.Jackson
- 16th May 2007, 16:06
You have to put a bit of effort into things yourself bud. Try generating some code to do what you want, submit it here if you still have problems and there's a good chance that someone will help.
skimask
- 16th May 2007, 16:34
Hi
I tried on ur suggestions but i donot found any thing.
Best regards
mubashir
DEFINE OSC 4
output portb.0
main:
low portb.0
pause 10
high portb.0
pause 10
goto main
there's your 50Hz output, 10ms low, 10ms high, 20ms total period...
1 seconds / 20ms = 50Hz...
Was it really that difficult?
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.