Author |
Message |
Topic: kbhit() |
Suus
Replies: 3
Views: 11844
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 7:18 am Subject: kbhit() |
Ok I found what I was doing wrong.
I used a wrong library.
Thanks for answering
Susan |
Topic: kbhit() |
Suus
Replies: 3
Views: 11844
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 7:03 am Subject: kbhit() |
Yes I have #use RS232 in my code:
#define XTAL_HZ 16000000
#use delay(clock = XTAL_HZ, restart_wdt)
#use rs232(baud = 500000, parity = N, xmit = PIN_C6, rcv = PIN_C7, RESTART_WDT& ... |
Topic: kbhit() |
Suus
Replies: 3
Views: 11844
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 6:28 am Subject: kbhit() |
Hello,
I'm using the kbhit() function but it gives the next error:
Function used but not defined: _StdIOCharAvail
I'm using PIC16f877a and version 3.187
Can anybody help me?
Susan |
Topic: Checking to see if a pin is High or Low |
Suus
Replies: 7
Views: 23347
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 4:20 am Subject: Checking to see if a pin is High or Low |
And how to check if a pin is low?
(input(!PIN_B0))
or
(!input(PIN_B0))
Susan |
Topic: Checking to see if a pin is High or Low |
Suus
Replies: 7
Views: 23347
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 1:06 am Subject: Checking to see if a pin is High or Low |
Hello,
Can I make it shorter like:
if(PIN_Ax)
{
}
else
{
}
????
Susan |
Topic: Read RAM memory |
Suus
Replies: 4
Views: 13315
|
Forum: General CCS C Discussion Posted: Wed May 12, 2004 12:36 am Subject: Read RAM memory |
Thanx for your answers,
I was a little disarranged. I thought there must be a command like a command for reading eeprom.
But it is much more easy than I thougt. |
Topic: Read RAM memory |
Suus
Replies: 4
Views: 13315
|
Forum: General CCS C Discussion Posted: Tue May 11, 2004 2:36 am Subject: Read RAM memory |
Hello,
How can I read some values from the RAM memory?
Susan |
Topic: WDT reset |
Suus
Replies: 3
Views: 11286
|
Forum: General CCS C Discussion Posted: Tue May 11, 2004 1:56 am Subject: WDT reset |
Hello,
how can I check if there's been a watchdog reset?
Susan |
|