Change motor position
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.
Download the program To download the program right mouse click on the link and select either 'Save Link As' or 'Save Target As' from the menu. Find a location to save the program to on your computer. Open up Ohbot software and use Open to locate the file that you have downloaded. Go further Try several changes at once by using several change blocks in a stack. |