View unanswered posts | View active topics It is currently Thu Jul 24, 2014 6:56 am






Reply to topic  [ 2 posts ] 
Sending Informating from the VEX Cortex to a computer 
Author Message
Rookie

Joined: Fri Nov 18, 2011 7:16 pm
Posts: 2
Post Sending Informating from the VEX Cortex to a computer
If its possible to send data from the computer to the Cortex, it would only make sense that the Cortex can send data directly to the computer (I'm working with a USB Connection). I need to be able to send data such as battery level and sensor values from the Cortex to a computer. The Robot C Functions Help page gives no reference to any function that could be used for such a pourpose. How could this be done?


Fri Nov 18, 2011 7:26 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 403
Post Re: Sending Informating from the VEX Cortex to a computer
If you switch your Window > Menu Level to "Expert", you'll see a Battery & Power Control section in the Function Library. There are three variables "BackupBatteryLevel", "nAvgBatteryLevel", and "nImmediateBatteryLevel" that can be used in your code.

These variables also show up in the System Parameters debug window, also available in Expert mode.

If you can tell me more about what you want to do, I might be able to provide more useful info.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Mon Nov 21, 2011 12:22 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:  
cron



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