Author |
Message |
Topic: delay_us works but not delay_ms |
Dewey
Replies: 7
Views: 7679
|
Forum: General CCS C Discussion Posted: Fri Feb 08, 2008 8:24 pm Subject: delay_us works but not delay_ms |
Got it working! After doing some searching on the net, I found a function similar to this:
void delay_zs(int16 t)
{
do
{
delay_us(65500);
} while(--t);
}
The function giv ... |
Topic: delay_us works but not delay_ms |
Dewey
Replies: 7
Views: 7679
|
Forum: General CCS C Discussion Posted: Thu Feb 07, 2008 9:52 pm Subject: delay_us works but not delay_ms |
4.038 |
Topic: delay_us works but not delay_ms |
Dewey
Replies: 7
Views: 7679
|
Forum: General CCS C Discussion Posted: Thu Feb 07, 2008 9:46 pm Subject: delay_us works but not delay_ms |
I tried NOLVP added to fuses and it did not help. It will work with us but not ms. When in us mode, I was trapping on it with a logic analyzer - that was how I knew it was working. Also, like I said, ... |
Topic: delay_us works but not delay_ms |
Dewey
Replies: 7
Views: 7679
|
Forum: General CCS C Discussion Posted: Thu Feb 07, 2008 9:11 pm Subject: delay_us works but not delay_ms |
Trying to make a traffic light controller but I'm very new to this, so please be patient! I am probably doing something really dumb here, but this is driving me nuts! If I substitue us for ms in the c ... |
|