Go to Post I'd say start working on other forms of wireless communication. Scout using Morse Code, hand signals, light flashes (LOST anybody?)... Paper cups and string are cheap too... - AndyB [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
  #4   Spotlight this post!  
Unread 19-01-2005, 22:08
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Multiple command_lists

Quote:
Originally Posted by chakorules
If it was me, we have used thumb wheels in the form of binary input to some digital I/O. So we work out which program we are going to run before the match starts, set the thumb wheel to select the program we want to run. In code it sort of looks like this:

Code:
if (thumb_wheel = 1)
	{
	do these commands;
	do these commands;
	do these commands;
	do these commands;
	}


if (thumb_wheel = 2)
	{
	do these commands;
	do these commands;
	do these commands;
	do these commands;
	}

if (thumb_wheel = 3)
	{
	do these commands;
	do these commands;
	do these commands;
	do these commands;
	}
Good idea....but what I was wondering was how to list the different lists...can you put them in different .h files or all in the code files?
 


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
White Paper Discuss: Operator Interface - Userbyte Multiple Displays Variables marccenter Extra Discussion 0 02-12-2004 14:56
Multiple version of Inventor on one computer sanddrag Inventor 4 30-11-2004 13:31
Remember that thread? [11-11-04]: Multiple Regionals Ken Leung General Forum 5 11-11-2004 16:53
Multiple teams from one high school? KathieK General Forum 24 28-06-2004 16:30
Multiple Motors phrontist Motors 12 21-06-2004 23:05


All times are GMT -5. The time now is 01:40.

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