Motors to Joysticks

I tried programming a motor to one of the joysticks on the controller. I’m using the block coding and there is an option to map one of the motors to the joystick, however when I clicked on it it didn’t work. I tried making it when an axis changes to spin the motor now it works, but I can’t stop the motors from continuously spinning.

Here is a link to an older post about programming motors to match joystick values

1 Like

you could set the code to absolute value and also you could set the thing to a deadlock
also could you send me a picture of the code