View Single Post
  #4   Spotlight this post!  
Unread 21-02-2010, 14:14
Twisted eric's Avatar
Twisted eric Twisted eric is offline
Registered User
FRC #0581
 
Join Date: Jan 2010
Location: San Jose
Posts: 54
Twisted eric is an unknown quantity at this point
Re: solenoid problems

Quote:
Originally Posted by KayyPii View Post
After you import the solenoid class, you will have to create your solenoid objects in Java. You can do this using :

Solenoid kicker = new Solenoid ( slot, channel );

then in your program, you can check the status of the trigger using an "if" selection and use the set( boolean on ); method to turn the solenoid on.
Can you please show me an example this is my first year programming in Java and I have no mentor to help.
Reply With Quote