Thread: Limit Switches
View Single Post
  #3   Spotlight this post!  
Unread 08-03-2016, 23:36
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Limit Switches

I think your logic of using the coerce function is very clever. However I think you want a constant of -1 for the lower limit switch coerce function to allow the motor to go up.
Reply With Quote