Do you have a code for how to make this move? One of my students built this but can't figure out the code required to make it work.
@michaelsaicheonglui181
Жыл бұрын
So you get two nunbers from tilting forward and backward. So send message with tilt status, if tilt forward , add 1 on dynamic number, and set motor power as the dynamic number. Vice versa for tilt backward but minus 1 on dynamic number.
Пікірлер: 8