Author |
Message |
Topic: using delay_ms with 40MHz osc |
mle
Replies: 5
Views: 13411
|
Forum: General CCS C Discussion Posted: Wed May 05, 2004 10:10 am Subject: using delay_ms with 40MHz osc |
Hello,
I'm using a 40MHz crystal with the PIC18f6520. I am using the processor to read from a dallas 1-wire temperature sensor (DS18S20). I seem to have communication problems when I use the 40MHz ... |
Topic: output_high |
mle
Replies: 11
Views: 30348
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2004 3:01 pm Subject: output_high |
So I should be doing this instead?
#BYTE LATA = 0xF89 //PORTA LATCH REGISTER
#bit LATA1 = LATA.1
...
LATA1 =1;
I'm trying to talk to a DS18s20 (1-wire temp sensor), and I can't seem ... |
Topic: output_high |
mle
Replies: 11
Views: 30348
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2004 1:52 pm Subject: output_high |
Hello,
Is there a difference between doing
output_high(PIN_A1);
and
#BYTE PORTA = 0XF80 //PORTA - PIC18F6520
#BIT PORTA1 = PORTA.1
....
PORTA1=1;
Is this effectively the same ... |
Topic: #define and #byte |
mle
Replies: 2
Views: 10054
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2004 10:10 am Subject: #define and #byte |
Hello,
Can someone please clarify the difference between a #define and #byte.
When I define the different registers, I thought I would use
#define PORTA 0x05
but then I get an error when I do
... |
Topic: Modem reponse |
mle
Replies: 5
Views: 14121
|
Forum: General CCS C Discussion Posted: Thu Mar 11, 2004 12:25 pm Subject: Modem reponse |
Hello,
I have changed my program to use streams and using a buffer for receiving info from the modem. I looked at the suggested example files for buffering and I implemented my receive buffer accord ... |
Topic: Modem reponse |
mle
Replies: 5
Views: 14121
|
Forum: General CCS C Discussion Posted: Tue Mar 09, 2004 12:18 pm Subject: Modem reponse |
Thanks for the help.
I'm new to the streaming concept. If i use fprintf to transmit, what do I use to receive? I tried fscanf, but this wasn't recognized by ccs. This is how I changed the code. ... |
Topic: Modem reponse |
mle
Replies: 5
Views: 14121
|
Forum: General CCS C Discussion Posted: Tue Mar 09, 2004 11:07 am Subject: Modem reponse |
Hello,
I'm working with a PIC18F6520 and a TDK single chip modem (73M2901C). I am getting a strange reponse from the modem. If I send it any command at all it returns an "AT" and that's it. It sti ... |
Topic: serial port PLEASE HELP |
mle
Replies: 2
Views: 10704
|
Forum: General CCS C Discussion Posted: Mon Mar 08, 2004 11:39 am Subject: serial port PLEASE HELP |
NO! That should have been HS.
Thanks you so much!
Emily |
Topic: jeremy bentham's ppp |
mle
Replies: 2
Views: 9041
|
Forum: General CCS C Discussion Posted: Wed Dec 17, 2003 11:59 am Subject: jeremy bentham's ppp |
Hello,
Has anyone completed the ppp protocol from Jeremy Bentham's book?
mle |
Topic: pbp to ccs |
mle
Replies: 17
Views: 22552
|
Forum: General CCS C Discussion Posted: Wed Sep 17, 2003 8:53 am Subject: pbp to ccs |
Hello,
I have a function written in both pbp and in ccs, and I am getting different results. The function reads 2 bytes from a ds1820 temperature sensor. I am trying to read the temperature value f ... |
|