OK so during the off season (for me anyway) we are doing sumo robot battle things and i had the idea to make an anti skid pneumatic device thing so other robots could not push us around. with this being said i got my pneumatic circuit out and went to program… i don’t understand how to program these. I’ve looked and looked but haven’t found a code that works. here’s what i have :
if(vexRT[Btn6U]== 1)
{
sensorvalue [solenoid] = 0;
}
if(vexRT[Btn6D]== 1)
{
sensorvalue [solenoid] = 1;
}
what do i change what do i do? with this code it does the opposite of what is was when you turn it on ( if its out it goes in) (in it goes out) but this will only happen once with no sign of it doing it again