Quote:
Originally Posted by KayyPii
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.