Lesson: 20L ESR Multi-Tasking

Printer-friendly version
Objectives: 

In this lesson, students learn about Multi-Tasking - the ability to run two or more threads of code simultaneously.

1) Watch this video to learn about Multi-Tasking - the ability to run two or more pieces of code at the same time:

2) Start the video again and pause it so you can create the same program. 

3) Change your code to do other tasks at the same time.  Do not to have two threads give commands to the same output (motor, speaker, screen) or the result may not be what you expect.

4) Try writng a program to have Riley do 3 things at once.

5) Answer these questions:

What is Multi-Tasking?
What do you need to be careful about when Multi-Tasking?

Scope & Sequence: 
HW Platform: 
SW Platform: 
Interactivity Style: