View unanswered posts | View active topics It is currently Tue Nov 12, 2019 6:32 am






Reply to topic  [ 3 posts ] 
External battery level 
Author Message
Rookie
User avatar

Joined: Wed Jan 09, 2013 11:48 pm
Posts: 46
Location: Saint Paul, MN
Post External battery level
I couldn't find anything in the help or example programs, just wondering how to get the external (Tetrix) battery level with nAvgBatteryLevel (or something similar) instead of the nxt battery.

_________________
Head Programmer FTC Team 6699, Tempest

Code:
<Life>
   Fun
</Life>


Sat Sep 20, 2014 8:20 pm
Profile WWW
Professor
User avatar

Joined: Sat Aug 31, 2013 9:15 am
Posts: 256
Post Re: External battery level
There's actually a different command for that. For the instantaneous Tetrix battery level, you use externalBattery. For the average Tetrix battery level, you use externalBatteryAvg.

_________________
FTC Team 6100 Chariots of Fire - Programmer (2012-2013)
FTC Team 7468 Blue Chariots of Fire - Programmer (2013-2014)
FTC Team 7468 Blue Chariots of Fire - Mentor (2014-2015)
Check out our team website at http://bluechariotsoffire.com/.


Sat Sep 20, 2014 8:24 pm
Profile
Rookie
User avatar

Joined: Wed Jan 09, 2013 11:48 pm
Posts: 46
Location: Saint Paul, MN
Post Re: External battery level
Oh, duh, ok thanks!

_________________
Head Programmer FTC Team 6699, Tempest

Code:
<Life>
   Fun
</Life>


Sat Sep 20, 2014 8:37 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.