Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Telling alliance in the code (http://www.chiefdelphi.com/forums/showthread.php?t=62851)

Andrew Schreiber 30-01-2008 09:16

Telling alliance in the code
 
Is it possible to tell which alliance you are on in the code? I recall a few years ago (2005 I think) there was an LED that flashed red or blue depending on your color. If anyone knows if it is still possible to check color of alliance I would like to know how. Thanks.

Alan Anderson 30-01-2008 09:50

Re: Telling alliance in the code
 
I don't know of any documented way to tell which alliance you're on. I'm not even sure if that information is part of the field communication this year.

Andrew Schreiber 30-01-2008 09:54

Re: Telling alliance in the code
 
What about telling what channel you are recieving data on. Since each radio transmits on a different channel could you tell your color from that? If so, how could you read that?

jtdowney 30-01-2008 10:22

Re: Telling alliance in the code
 
My suggestion would be to add a simple switch connected to a digital IO. Since you will know your alliance before you queue, just have the drivers flip the switch to whatever alliance you are on.

Andrew Schreiber 30-01-2008 10:30

Re: Telling alliance in the code
 
That is most likely the simplest solution and what I will end up doing. I just thought that it would be kind of cool to do it in code.


All times are GMT -5. The time now is 18:13.

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