The TouchLED on the top of the robot can display different colors to give visual clues to a human telling what part of a program the robots is running.
It can also be used to gather input from the human user, by tapping it with a finger.
Using the "set TouchLED color to _____ " block is how to make the sensor display a color. This block is near the bottom of the purple "looks" block section.
To have the robot wait until a human touches the sensor, you use an orange control block, with a light blue sensor block like this.
LEARNING ACTIVITY
Create this program and download it to the robot to test your code.
TEST YOUR SKILLS
Create a program that uses the TouchLED to add sounds to the program when the sensor is touched.
Show the completed program to your instructor.
Save the finished program. (lesson9.iqblocks)
Then Save_As to make a copy (lesson10.iqblocks)
Make sure the files are in the shared google drive folder.
If you are using the web version of the app, click on the name of the file in the top center of the screen, then use File and Save To Your Device