|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Action on button press and release
Is it possible to have a singular motor subject to the control of more than one button? Like, could the press of one button turn it one direction and the press of another turn it the other way? If so, how is that done?
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||||
|
|||||
|
Re: Action on button press and release
Yes, this can be done. The way Mehmed posted is one option. I have attached a picture of another way you can do it.
|
|
#4
|
|||
|
|||
|
Re: Action on button press and release
You guys are the best!
We'll give these a try and see what happens. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|