|
Re: Help! My robot has a mind of it's own!
Are you using a single solenoid? If so, it's probably not the code at all. You must know that single solenoids have what's called a "default position," which is the position the solenoid reverts to when it's not given power. What happens is that when your robot switches on and the compressor starts pumping air, it will pump air through the solenoid in default position. Quick fix: swap the two pneumatic tubing outputs at the solenoid.
Hope this helps,
__________________
--Jared Osborn
"This is your life... are you who you want to be?"
|