1 / 6

4 |Multitasking

4 |Multitasking. Multitasking. Created by H. Robinson & A. Gostelow. 4 |Multitasking. Objectives To understand how a multitasking program is made To build a multitasking program so that the robot can do more than one thing at a time. Created by H. Robinson & A. Gostelow.

wpeter
Download Presentation

4 |Multitasking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 4 |Multitasking Multitasking Created by H. Robinson & A. Gostelow

  2. 4 |Multitasking • Objectives • To understand how a multitasking program is made • To build a multitasking program so that the robot can do more than one thing at a time Created by H. Robinson & A. Gostelow

  3. 4 |Multitasking This icon allows us to split the program into two tasks, our robot can then do two things at once e.g., move while the lights are flashing on and off. Created by H. Robinson & A. Gostelow

  4. 4 |Multitasking This is a simple multitasking program where the robot goes forward until the touch sensor stops it, meanwhile the lamp is on for 6 seconds. In this way we can program the robot to do two things at once. Created by H. Robinson & A. Gostelow

  5. 4 |Multitasking Multitasking can allow us to build many more programs. Programs which need the task split into two so that the robot will do two things at once e.g. playing music while moving; Created by H. Robinson & A. Gostelow

  6. 4 |Multitasking • Key Points • Multitasking allows the task to be split into two so that two things can be done at the same time. • Remember to use a green traffic light at the beginning but you will need two red traffic lights, one for each task. Created by H. Robinson & A. Gostelow

More Related