Author |
Message |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2012 7:47 am Subject: pic16f1939 timer problem |
Thank you for your big answer ;)
I will try it soon and i will answer for you
Have a nice day! |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2012 1:27 am Subject: pic16f1939 timer problem |
It doesn't stop. It just does a Timer1 interrupt several times per second,
and so the program is constantly setting the LED2 pin to a high level.
So as soon as your main code sets it low, just a sh ... |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2012 1:25 am Subject: pic16f1939 timer problem |
It doesn't stop. It just does a Timer1 interrupt several times per second,
and so the program is constantly setting the LED2 pin to a high level.
So as soon as your main code sets it low, just a sh ... |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2012 12:14 pm Subject: pic16f1939 timer problem |
You don't ever enable GLOBAL interrupts. It won't work until you do that.
if i enable global interrupts the program will stop...I don't no why |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2012 10:59 am Subject: pic16f1939 timer problem |
"Does not work" is really vague... What does not work?
compiler version?.... some chips are not supported by all compilers..
where is XTAL_FREQUENCY defined?
Where is LED2 and LED ... |
Topic: pic16f1939 timer problem |
barnal
Replies: 9
Views: 11585
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2012 10:28 am Subject: pic16f1939 timer problem |
Hello Everybody!!!
please help me
I have a program...I wrote in CCS.
The program contains a timer.
This timer works if I use pic16f877A, if I use pic16f1939 then no.
What's wrong? I don't ... |
Topic: QEI dsPIC30F6010 |
barnal
Replies: 2
Views: 5169
|
Forum: General CCS C Discussion Posted: Wed Jun 27, 2012 11:16 pm Subject: QEI dsPIC30F6010 |
thank you for your help very much, I try it soon |
Topic: QEI dsPIC30F6010 |
barnal
Replies: 2
Views: 5169
|
Forum: General CCS C Discussion Posted: Wed Jun 27, 2012 5:09 am Subject: QEI dsPIC30F6010 |
Can somebody help me?
How can I get the direction of the rotation in the ccs language from dsPIC30F6010?
And what is the qei_status() function?
sorry for my english...
thank you!!! |
|