Controlling a Gripper with a Slider?


#1

Automatically translated, sorry if terms are not correct :slight_smile:

Hello all,
I have only recently become involved with the mbot. I bought a gripper and successfully connected it to the mbot ranger. With the makeblock app I can also close or open the gripper with a button.
However, I would prefer to control the gripper with a slider. When the slider is moved to the far left, the gripper should be completely open. With the slider all the way to the right, it should be completely closed. With the slider in the middle, it should be half open.
Does anyone have an idea for the code?
Thank you very much!