|
Re: Action on button press and release
Yes, you need a case structure with 3 cases: case 0 with nothing, case 1 with forward motor, and case 2 with a backwards motor.
You merge the signal of the two buttons using a boolean array. Then you convert the boolean array value to a number using something in the boolean palette.
|