View Single Post
  #2   Spotlight this post!  
Unread 09-02-2012, 00:14
dcribbs dcribbs is offline
Registered User
AKA: Dave Cribbs
FTC #5598 (Parish Robotics)
Team Role: Coach
 
Join Date: Mar 2009
Rookie Year: 2004
Location: Denton, TX
Posts: 35
dcribbs has a spectacular aura aboutdcribbs has a spectacular aura about
Re: [FTC]: coasting mode: save your gearboxes!

RobotC has a function similar to this built in, but I think it only works with the three LEGO NXT motors.

http://www.education.rec.ri.cmu.edu/..._res_words.pdf

bFloatDuringInactiveMotorPWM = true; (or false; )
This is used to set whether the motors on the NXT will float or brake when there is no power applied.
There are two settings:
false - motors will brake when inactive
true - motors will float when inactive

Thanks for posting code that provides the same functionality for the 12V DC motors!
__________________
Dave Cribbs
Coach & Teacher

FTC - Team 5598, 6635, 6795
FRC - Team 3626
Reply With Quote