Hi I use this for certain things (QBASIC program) KEY OFF: CLS KEY ON KEY 1, "!C": KEY 2, "!R": KEY 3, "!W": KEY 4, "!CB": KEY 5, "!RB": KEY 6, "!WB": KEY 7, "quit" OPEN "COM1:1200,N,8,1" FOR RANDOM AS #1 C$ = "quit" start: INPUT A$ IF A$ = C$ THEN END PRINT #1, A$ LINE INPUT #1, B$ PRINT B$ GOTO start The !C, !R, !W, !CB etc are mapped to function keys. Change to the commands you use. The open command specifies COM1, 1200 baud, No Parity, 8 Data Bits and 1 stop bit. Change to suit. When running enter text or command or command + text. Press enter. Device response is placed on screen. File attatched Tim Kerby At 12:41 11/12/97 +0200, you wrote: >>Do any of you have a small program for the PC (basic or something else) which will make >me able to send single ASCII-codes via the COM-port to the PIC. > >Try Working with Windows 3.x terminal program. That should allow you to type text straight onto the serial port to the PIC. This program will run under windows 95 without any problems. > >Martin McArthur >Weapontec CC > > Attachment converted: wonderland:Comdir.bas (TEXT/MSIE) (0000D092) ------------------------------------------------------------------ Personal Web Pages: http://web.ukonline.co.uk/members/tim.kerby/ Email: tim.kerby@ukonline.co.uk ------------------------------------------------------------------