View unanswered posts | View active topics It is currently Wed Jul 23, 2014 3:51 am






Reply to topic  [ 2 posts ] 
RobotC VEX -how do I tell how many transmitters are active 
Author Message
Rookie

Joined: Tue Feb 02, 2010 11:10 am
Posts: 2
Post RobotC VEX -how do I tell how many transmitters are active
In MPLabs there was a field that had a bit on for each transmitter/receiver that was working.

Value
0-No transmitters on
1-Trans 1
2-Trans 2
3-Both trans 1 and trans 2 are on

Is there a variable in RobotC that will tell me the same thing?

Does the same status word work for VEXNet?

Thanks!


Tue Feb 02, 2010 11:19 am
Profile
Rookie

Joined: Tue Feb 02, 2010 11:10 am
Posts: 2
Post Re: RobotC VEX -how do I tell how many transmitters are active
I got an answer back from Tech Support on using the nVexRCReceiveState function.

nVexRCReceiveState
// No Crystals = 0
// One Transmitter = 1
// Two Transmitter = 2
// One and Two Transmitter = 3
// One VEXnet = 8
// Two VEXnet = 10


Tue Feb 02, 2010 5:21 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.