mladenovic
- 21st September 2005, 20:22
Hi
I need help
I have to read Port RB4 to RB7
The number I get from that reading (0-15) it has to be PWM output.
Mu question is how to use PWM on pic 16f628
This PWM signal has to be active 300ms and then read again portb4 to portb7
Rule
1.read portb4 to portb7
2.set pwm dutycycle (depend of reading value of portb)
3.activate pwm for 300ms
4.go to 1.
Thanks Milan
I need help
I have to read Port RB4 to RB7
The number I get from that reading (0-15) it has to be PWM output.
Mu question is how to use PWM on pic 16f628
This PWM signal has to be active 300ms and then read again portb4 to portb7
Rule
1.read portb4 to portb7
2.set pwm dutycycle (depend of reading value of portb)
3.activate pwm for 300ms
4.go to 1.
Thanks Milan