Learn about the VEX IQ Touch LED
Ask the Reader to organize how the group will read the "VEX IQ Touch LED" article from the VEX Library to learn about how the Touch LED works and how to use it.
Program with the Touch LED
Have the Programmer open VEXcode IQ and follow these steps:
-
Open the Testbed template example project from VEXcode IQ.
- For help opening the example project, view the Use Example Projects and Templates tutorial video.
-
Build the following project and save it (macOS, Windows, Chromebook, iPad) as Touch LED:
Test the Touch LED
Have the Tester connect the Testbed to your computer and then follow these steps:
- Download the project to the IQ Robot Brain.
- Run the project and press the Touch LED to display green. Or, release the Touch LED (NOT pressed) to display red.
- For help downloading and running a project, view the Download and Run a Project tutorial video.
Answer the following questions and ask the Recorder to document them in your engineering notebook:
- In what situations might you use a Touch LED on a robot?
- Does the Touch LED have to be pressed in order to change colors?
- Does the Touch LED report values of 1 (TRUE) or 0 (FALSE)?
- Can the Touch LED report what color it is displaying?