![]() |
More Solenoid Trouble
Hey guys! I am having trouble coding the solenoid. I want it to be so that whenever I push on the buttons on the top of the Attack 3 joystick, the solenoid opens up. The button labeled 3 on the Attack three opens the solenoid forward and the button 2 opens the solenoid backwards. However, my code does neither of this. In fact, I'm not sure if it's the code or not, but the air only come out of hole 2 of the solenoid. If you see anything that would be affecting the situation so that it doesn't work, let me know!:D :D
Code:
/*----------------------------------------------------------------------------*/ |
Re: More Solenoid Trouble
All the code that should run during teleop should be placed in the while loop.
|
Re: More Solenoid Trouble
So I changed it so that all the Solenoid code is in the while loop, but it still isn't working! Do any of you guys see anything else wrong with the code?
Code:
/*----------------------------------------------------------------------------*/ |
| All times are GMT -5. The time now is 08:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi