OhbotUSA
  • OH
  • About
  • Buy
    • Buy Ohbot for Windows
    • Buy Ohbot Pi >
      • Ohbot Pi Assembled
      • Ohbot Pi Kit
    • Buy Picoh
  • Make
    • Assemble Ohbot Kit
    • Install software
    • Accessories
    • Technical Notes
    • Talk
    • Help
  • Program
    • Learn Ohbot
    • Code snippets
    • Projects
    • Block Glossary
    • Ohbiverse
  • Contact

Change

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.





Picture

​Ohbot Ltd.
Studio 5, Halliday's Mill
London Road, Chalford
Gloucestershire, GL6 8NR
United Kingdom
​
​Copyright 
© Ohbot Ltd.  All rights reserved.
Ohbot
® is a registered trademark of Ohbot Ltd.
Picture
  • OH
  • About
  • Buy
    • Buy Ohbot for Windows
    • Buy Ohbot Pi >
      • Ohbot Pi Assembled
      • Ohbot Pi Kit
    • Buy Picoh
  • Make
    • Assemble Ohbot Kit
    • Install software
    • Accessories
    • Technical Notes
    • Talk
    • Help
  • Program
    • Learn Ohbot
    • Code snippets
    • Projects
    • Block Glossary
    • Ohbiverse
  • Contact