Hi guys,
I just bought a vex kit on ebay and it included the original easyc v1 software(which I know is ~ 5 years old).
I have been playing around with it and I am wondering if there is a way that I can program a motor to move when one of the buttons on the back of the transmitter(ch. 5 or 6) is pushed. I tried using the GetRxinput and the different values (0, 127 and 255) are seen on the terminal- so I know the transmitter works. When I try programming motor 1 to move when the upper left button is pressed (see picture) the motor moves once I press the button, and then a second later it starts going and does not stop spinning (regardless of pressing the button). I would like the motor to turn when the button is pressed and stop when its not, and do this an infinite number of times.
I know this is probably a quick programming fix, but could you look at the code in the picture and tell me what I’m doing wrong?
Thanks.