|
Re: Trying to control 1 motor with 2 buttons
sure okay. To do this I would use code similar to what i posted in the picture and instead of assigning forward/ reverse/off to the block selectors use integer values. 255 would be full power in one direction, 0 would be full power in the other direction and 127 would be off. Also, instead of using the set relay use the set speed to connect to the output of the block selector.
It might be easier to just use a relay instead of a jaguar unless you really need to control speed.
|