here is another thing i posted on another board yesterday -
So we are trying to get our robot to do 3 things. pick up balls, shoot, and suck the up through a convaire belt system. The drive is a pid car drive system that works well till you put it with shooting and picking up balls. The shooter works for a fraction of a second and than stops till the next ball is in place. The suck just goes for X amount of time. We put these parts in the basic framework and the result is the same. You can do one of them and if you get 2 of them to work they don't work right of just don't work at all. The shooter and suck start by microswitches on the DIO ports. We have tried this is a statemachine tonight and that didn't work. Can somebody tell me an easy way to do this or send me example code of some sort to look at and figure out what I have to do?
