Joe, As you would expect of the PRINT command, it adds a carriage return/line feed (or at least one of these) to the end of a line by default. Add a terminating ";" to stop this. regards Russell McMahon _____________________________ >From other worlds - www.easttimor.com www.sudan.com What can one man* do? Help the hungry at no cost to yourself! at http://www.thehungersite.com/ (* - or woman, child or internet enabled intelligent entity :-)) -----Original Message----- From: Joe Hamilton To: PICLIST@MITVMA.MIT.EDU Date: Thursday, 17 February 2000 18:35 Subject: rs232 in qbasic >I am trying to transmit data to a pic, from my computer. I am having >terrible results with this though. I believe my pic program works??? >Anyway I looked at the data coming from my comm port on my scope and I don't >recognize the format. It isn't the 8-N-1 format that I am shooting for. >How do I send a single number in qbasic as the 8-N-1 format. > >This is what I have tried, when I look at it on my scope I get like a 14 bit >word...Help. > >10 OPEN "COM1: 1200, N, 8, 1, RS, DS" AS #2 >20 A% = 1 >30 PRINT #2, A% > >Thanks, > >Joe >