ragul07
Junior Member level 1
- Joined
- Aug 1, 2013
- Messages
- 15
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Location
- INDIA
- Activity points
- 83
hey all....
Am trying to generate PWM for a certain constant frequency and the PWM module works fine...
But when i interface it with an 16x2 LCD and also add some routines to detect the status f PORTA:sad:
The duty cycle of the PWM signal varies and it behaves erratically...!
The program is simple but i does function as desired...
This is my pic with Proteus..
Here i had attached my code...
View attachment PWM+LCD.txt
Am trying to generate PWM for a certain constant frequency and the PWM module works fine...
But when i interface it with an 16x2 LCD and also add some routines to detect the status f PORTA:sad:
The duty cycle of the PWM signal varies and it behaves erratically...!
The program is simple but i does function as desired...
This is my pic with Proteus..
Here i had attached my code...
View attachment PWM+LCD.txt