Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   SERAL INSTEAD OF DEBUG... (http://www.chiefdelphi.com/forums/showthread.php?t=40339)

EGG0900 05-11-2005 01:51

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

Mike 05-11-2005 11:35

Re: SERAL INSTEAD OF DEBUG...
 
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.

EGG0900 05-11-2005 18:25

Re: SERAL INSTEAD OF DEBUG...
 
http://www.parallax.com/dl/docs/prod...DemoCschem.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.


All times are GMT -5. The time now is 17:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi