I need a code to generate a pwm output from my PIC micro controller, the one m using is PIC16F877A,The PWM duty cycle should keep varying based on few conditions. the conditions i'll put on my own, just if I can get a code outline....
Also i need an interfacing program . I need to interface 2 things, one is a RPM sensor, which gives continuous pulses as output. These pulses need to be counted.
Another sensor which just gives an output voltage in the range of 4 volts has to be read into any port pin... basically port A...
Please help me out wid de codes... need it urgently..
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed May 09, 2007 11:45 am
Here are some example programs that are in the forum archives.
Quote:
I need a code to generate a pwm output from my PIC micro controller.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum