View Single Post
  #2   Spotlight this post!  
Unread 13-02-2015, 13:31
fireXtract fireXtract is offline
MegaHertz_Lux
FRC #2847 (Mega Hertz)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: fmt
Posts: 42
fireXtract is an unknown quantity at this point
Re: Need help with a limit switch

Quote:
Originally Posted by 5580SQUAD View Post
Do I need to import anything else other than the talon in my code?
http://wpilib.screenstepslive.com/s/4485/m/13809/l/241867-switches-using-limit-switches-to-control-behavior

The DigitalInput is the way they use to detect the inputs of the limit switch. There is a lot of good info on the WPILIB FRC provides if you can navigate it.
Reply With Quote