Timer0 and Interrupts at PIC16F88

Status
Not open for further replies.

Gabi1

Newbie level 1
Joined
Jun 2, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Australia
Activity points
1,288
Timer0 and Interrupts

I have been trying to solve this problem in my tutorial class but duing to the lack of microcontroller knowledge, i haven't done. i need help for this


The external TMR0 clock input line of PIC16F88 is connected to a sensor a road surface that produces a pulse every time a vihicles passes.

The lower 4-bits of PORTA display the car count in units of 100 (i.e. PORTA increments each time 100 cars have been detected by TMR0). when PORTA reaches its maximum value no further incrementing occurs. The RB0 interrupt is used to clear the PORTA count back to zero.

Write a PIC program in C to perform this task
 

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…