View Full Version : Telling alliance in the code
Andrew Schreiber
30-01-2008, 09:16
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
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
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
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
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.