Change motor position
About this snippet
This snippet changes the position of the head nod and head turn motors by a set amount when an arrow key is pressed. It uses the change block. This changes the position of a motor by a number between 0.1 and 10 in one direction. You can also change by negative numbers between -0.1 and -10 to move in the opposite direction.
Go further
Try several changes at once by using several change blocks in a stack.
Go further
Try several changes at once by using several change blocks in a stack.
Download
How to download this snippet
- Click the Download Snippet button below.
- In the Ohbot App on the File menu select Open Ohbiverse Download.
- Find the downloaded file and click Open