programming timer interrupt for PIC16F877A

Status
Not open for further replies.

ccslearner

Junior Member level 1
Joined
Feb 1, 2013
Messages
19
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
India,tamilnadu
Activity points
1,445
Hai friends, first of all i want tell one thing i am more happy to member of these website because the objective of the forum is more attracted and also this is my firs post along a long period of searching, my question is
1) any one can help me to write the LED blinking program like the order of given below
LED1 ON 2sec and OFF 5 sec
LED2 ON 3sec and OFF 6sec using Timer2 Interrupt(the interrupt is created every 5msec)

I am using PIC16F877A mcu and CCS compiler to work above assignment and i have the code for timer2 interrupt to LED1 ON 2sec and OFF 2sec , LED2 ON 5sec and OFF 5sec(symmetric) these code was working but i cant to modify the program to get output (asymmetric wise) like above my question . I hope more answer

thanks
 

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…