You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
PAGE 16<br />
Teacher Notes for use with Set 9795<br />
SECTION 3<br />
WHOLE CLASS<br />
INTRODUCTORY ACTIVITIES<br />
ACTIVITY<br />
2<br />
The Lamp and the Garage Door<br />
Learning Objectives<br />
Students will:<br />
Review how to program the RCX using output devices such as the<br />
lamp and micromotor.<br />
Reacquaint themselves with ROBOLAB Pilot programming.<br />
Discussion<br />
Pilot 2 allows users to control two outputs but has only one step.<br />
Therefore, students must create separate Open and Close programs<br />
and download the programs to separate Program slots on the RCX.<br />
open<br />
If students change the power level, the amount of time needed to<br />
open or close the garage may change.<br />
If students are comfortable with programming or have experience<br />
using Pilot 4, they can combine the open and close functions. Here is<br />
a three-step Pilot 4 program that adds a one-second pause in between<br />
the opening and closing of the garage door.<br />
open<br />
close