Re: RS 232 communication does not work? Kategorie: Programmierung (von Remon Vos - 19.12.2002 9:49) | |
| |
Hi, (Sorry for my English, I can read German, but I can't write it.) I can't get the RS 232 communication to work. I've done the following: 1. downloaded the newest optimized os into both my cc2's 2. downloaded the newest modules (included hwcom.c2) 3. wrote a little program for the cc2 hwcom.init(); hwcom.setspeed(hwcom.SPEED_9600); str.clear(display); display = "DATA DUMPn"; hwcom.send(display, str.length(display)); 4. opened Hyperterminal (Windows 2000) 5. and guess what... a letter "D" appeared on my screen... but what happend to "ATA DUMP"? Both jumpers RTS and CTS are placed on the cc2 (I'm not using SWCOM). I've tried all combinations: Hyperterminal handshake on and off, CC2 handshake on and off... Nothing seems to work. Does anyone know what I'm doing wrong? Regards, Remon. | |
Antwort schreiben Antworten: Re: RS 232 communication does not work? (von Martin Binder - 19.12.2002 10:40) Re: RS 232 communication does not work? (von Remon Vos - 19.12.2002 15:32) Re: RS 232 communication does not work? (von André H. - 21.12.2002 8:24) Re: RS 232 communication does not work? (von Martin Binder - 20.12.2002 8:51) |