Author |
Message |
Topic: timer value |
stef.df
Replies: 1
Views: 3278
|
Forum: General CCS C Discussion Posted: Tue Apr 07, 2009 1:42 am Subject: timer value |
How can I get 60s from timer1?
setup_timer_1( T1_INTERNAL|T1_DIV_BY_8);
set_timer1(0);
get_timer1();
Can I get 60s using this?
Or is there any other options? |
Topic: How to add a timer? |
stef.df
Replies: 2
Views: 4352
|
Forum: General CCS C Discussion Posted: Thu Apr 02, 2009 7:56 pm Subject: How to add a timer? |
Hi, can someone help me solve my problem.
My program is like:
if( input(PIN_C3)== true)
{ do............
}
else
{do..........
}
What I want to do now is ... |
|