Go to Post Now, everyone, say it with me: "It's just a TV show and FRC is just a robotics program. My life is a lot bigger than both of those things." Once you say this, I swear most of the arguments here would fade into oblivion. - itsjustjon [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-11-2005, 01:51
EGG0900 EGG0900 is offline
Registered User
no team
 
Join Date: Nov 2005
Location: HOUSTON
Posts: 2
EGG0900 is an unknown quantity at this point
Exclamation SERAL INSTEAD OF DEBUG...

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

DEBUG CR, "D 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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IFI Dynamic Debug Tool fowlerm Programming 0 25-08-2005 16:18
variable? manodrum Programming 11 01-04-2003 17:20
RCU has bad Analog ports - what now? Icebreakers Programming 13 26-03-2003 07:27
basic stamp editor debug capture dave_l Programming 4 17-03-2003 19:35
Programming Port GreenDice Programming 12 10-01-2002 09:14


All times are GMT -5. The time now is 10:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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