Author |
Message |
Topic: RS232 buffer |
simoes.lc
Replies: 1
Views: 3937
|
Forum: General CCS C Discussion Posted: Sat Oct 20, 2007 4:06 pm Subject: RS232 buffer |
I need to send a block of data through the rs232, but i want to check when data transmition has end (the uart buffer is empty), like a loop.
How can i do that. |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 2:55 pm Subject: Problems with PIC16F767 |
Well, to test this i make the following:
1. In the same breadboard a mount another microcontroller, the PIC16F628A.
2. Put almost the same code on it
3. Make it Run
And then it works perfet. N ... |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 1:57 pm Subject: Problems with PIC16F767 |
I tried again the code in post #4, but now i changed the max232 that i was using. And I got the same for both. The microcontroller waits the first character, get it e then starts to send it by tx and ... |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 12:44 pm Subject: Problems with PIC16F767 |
but this code work right
#include <16F767.h>
#fuses XT,NOWDT,NOPROTECT
#use delay(clock=4000000)
#use rs232(baud=4800, xmit=PIN_C6, rcv=PIN_C7)
#use standard_io(B ... |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 10:28 am Subject: Problems with PIC16F767 |
Well I tryed to use the up code and nothing happend, but when I comment the line
printf("Test in progress...\r\n");
The program starts to work, waiting to the first characte ... |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 9:55 am Subject: Problems with PIC16F767 |
version CCS 4.023 |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2007 7:33 am Subject: Problems with PIC16F767 |
Well, i alread tested this routine and dont receive any answer. I alread tested the max232, connecting the RX with the TX pins and its working normaly.
#include
#fuses HS, NOWDT, NOPROTECT, BROWN ... |
Topic: Problems with PIC16F767 |
simoes.lc
Replies: 12
Views: 10428
|
Forum: General CCS C Discussion Posted: Sun Mar 04, 2007 2:09 pm Subject: Problems with PIC16F767 |
Hi, i�m just starting to work with PICs microcontrolers. I�m using the PIC16F767, but i�m having some problems that i dont undrestand. I'm trying to comunicate this PIC with a computer using the seria ... |
|