Go to Post Would all you teams please stop! My chin will be bruised for weeks from dropping on the floor so much. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-16-2016, 09:05 AM
ncarvo ncarvo is offline
Registered User
FRC #5473 (Team Spitfire)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2012
Location: Grand Rapids
Posts: 5
ncarvo is an unknown quantity at this point
Controlling Solenoids in Java

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.
Reply With Quote
  #2   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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:03 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi