Author |
Message |
Topic: Voltage level problem |
chancaar
Replies: 3
Views: 10405
|
Forum: General CCS C Discussion Posted: Mon May 31, 2004 8:17 am Subject: Voltage level problem |
I define the "d" port like this:
set_tris_d(0b11101111); (D4 as an output, D5 as an input)
I use next statement:
#use rs232(baud=9600,bits=8,parity=N,xmit=PIN_D4,rcv=PIN_D5)
The ground is wel ... |
Topic: Difference between TX/RX and normal I/O with #use RS232 ??? |
chancaar
Replies: 4
Views: 13386
|
Forum: General CCS C Discussion Posted: Mon May 31, 2004 8:07 am Subject: Difference between TX/RX and normal I/O with #use RS232 ??? |
I use a 20 MHz clock speed... and I'm using a MAX233 to transform the level. |
Topic: Difference between TX/RX and normal I/O with #use RS232 ??? |
chancaar
Replies: 4
Views: 13386
|
Forum: General CCS C Discussion Posted: Sun May 30, 2004 2:27 am Subject: Difference between TX/RX and normal I/O with #use RS232 ??? |
Hello!
PIC = 16F877
I'll have to communicate with a device using baudrate 9600,stopbit=1, non parity.
When I connect this device I first do some tests using the special TX to transmit data. I c ... |
Topic: Voltage level problem |
chancaar
Replies: 3
Views: 10405
|
Forum: General CCS C Discussion Posted: Wed May 26, 2004 11:25 am Subject: Voltage level problem |
Hello,
I'm using a 16F877 to communicate with a RS-232 serial connector. When I measure at the output of the MAX233 (which transformes the level to TTL for the pic) I can detect 0V or 5V, which is pe ... |
Topic: How to use other pins as TX / RX ? |
chancaar
Replies: 3
Views: 9972
|
Forum: General CCS C Discussion Posted: Fri May 21, 2004 10:17 am Subject: How to use other pins as TX / RX ? |
Hi, I'm using a 16F877 to communicate by RS-232. I can allready read and receive data by the special pins (RC7 & RC6), using putchar() and getchar().
The problem is that I'll have to receive and ... |
Topic: ex_usb file??? |
chancaar
Replies: 7
Views: 14814
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2004 6:13 am Subject: usb??? |
I got a reply from the ccs helpdesk with files but their was no EX_USB-file included. Can someone please send me this file so I know how to comunicate with a USB device. Thanks!
emailadress : chancaa ... |
|