TMR0 module of PIC16F1937 problem

Status
Not open for further replies.

sreeramdravid

Newbie level 1
Joined
Mar 25, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
Hii all, iam a newbie and need to do the hardware implementation of my project.

i did all the debugging of the code on proteus and it seems to work perfectly fine . However when i wanted to check the program on actual hardware, i realised that things are not the same.

I used a TMR0 interrupt in my code. and on hardware i realised that TMR0IF flag bit was not being set(after writing small sample codes). However the simulation on proteus works just fine.

iam using the RA4 pin as an external clock source.and am using RA4 push button on PICDEM board as a clock

somebody please help me out. real urgency
 

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…