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

Sleep

Using a variable to make Ohbot become sleepy

Variables are useful whenever a value needs to be stored. They are easy to understand if we think of them as a box into which only one number or string of letters (a word) can be placed. 
 
We can use variables to give Ohbot needs. Try this example to make Ohbot become sleepy, then wake when the spacebar is clicked. 

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.


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