SERAL INSTEAD OF DEBUG...

What would be a easy way of doing this debug example with serout?

DEBUG CR, “D :mad: ownload”, CR
FOR DataSlot = 1 TO 15

STORE DataSlot
DEBUG CR, ? DataSlot
FOR RomLoc = 0 TO 2047

SERIN 16, 16468, Cont_Download, 1, Cont_Download, [Result]
Cont_Download:
IF Result = 27 THEN GOTO Start

READ RomLoc, RomVar
IF RomVar = “?” THEN DEBUG CR, “?”
IF RomVar = “a” THEN DEBUG “a”
IF RomVar = “b” THEN DEBUG “b”
IF RomVar = “c” THEN DEBUG “c”
IF RomVar = “d” THEN DEBUG “d”
IF RomVar = “e” THEN DEBUG “e”
IF RomVar = “f” THEN DEBUG “f”
IF RomVar = “g” THEN DEBUG “g”
IF RomVar = “h” THEN DEBUG “h”
IF RomVar = “i” THEN DEBUG “i”
IF RomVar = “j” THEN DEBUG “j”
IF RomVar = “k” THEN DEBUG “k”
IF RomVar = “l” THEN DEBUG “l”
IF RomVar = “m” THEN DEBUG “m”
IF RomVar = “n” THEN DEBUG “n”

NEXT

'STORE DataSlot
PAUSE 5000
NEXT
GOTO Main

Well, to start you off this is a forum meant for FIRST Robotics. It was started by Team 47, Chief Delphi. We program primarily in C or Assembly.

What language is that? BASIC? What chip are you using? Could you provide a link to the datasheet for that chip?

Thanks.

http://www.parallax.com/dl/docs/prod/stamps/BS2pDemoCschem.pdf
bs2pe i am useing it as a data logger and this is the section where i download the stored info to pc. i want to be able to do this in a serial out mannor.