View Single Post
  #1   Spotlight this post!  
Unread 02-16-2016, 09:43 AM
kmodos kmodos is offline
Registered User
AKA: Alex
FRC #1126 (SparX)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: New York
Posts: 57
kmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to beholdkmodos is a splendid one to behold
Re: Controlling Solenoids in Java

Quote:
Originally Posted by ncarvo View Post
So I have googled compressor and solenoid examples, but my team wants to control when the shift in the gearbox happens via controller. I have no idea how to do that, please help, much appreciated.
Solenoid shifter = new Solenoid(Whatever port it is in);

shifter.set(a boolean)
Reply With Quote