Author |
Message |
Topic: Problem in reading and setting timer0 |
MVA
Replies: 7
Views: 24368
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2016 1:04 am Subject: Problem in reading and seting timer0 |
Thanks friend
i have corrected my code and i have got my count value too..
thanks a lot
One more what's the significance of defining #INT_TIMER0 before the isr,why is it so...
//******* ... |
Topic: Problem in reading and setting timer0 |
MVA
Replies: 7
Views: 24368
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2016 12:31 am Subject: Problem in reading and seting timer0 |
Thanks for the Reply
i have reconfigured my code as mentioned above
but still i am not getting the count in ISR rountine
i am getting as output:
value=102
value=169
value=235
value=46
va ... |
Topic: Problem in reading and setting timer0 |
MVA
Replies: 7
Views: 24368
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2016 5:48 am Subject: Problem in reading and seting timer0 |
Thanks Jay for the reply..
i am using PIC 16F877a, 20MHZ, timer0(internal clock, prescalar=256)
ccs version IDE version 5.007 PCWHD Cmplier
#include <main.h>
#include <string.h& ... |
Topic: Problem in reading and setting timer0 |
MVA
Replies: 7
Views: 24368
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2016 5:32 am Subject: Problem in reading and setting timer0 |
Hello to all,
i am very new to ccs service, i will come directly to point.
i am trying to set a timer0 with a maximum prescalar value as 256 to generate a 1 sec delay.
While ge ... |
|