|
TEAMS Academy Wiki
THS
Explore TEAMS!
for visiting sophomores & juniors
Robotics
EnvBioTech
Bat Design
Assistive Tech
Students
Instructors
TEAMS Forum
TEAMS Calendar
TEAMS Web Site
Wiki Info
edit Robots.SideBar
|
Introduction to External Digital Sensors - Simple Switches
2. Now connect a switch to your create (LEFT ePort, use Pin 3 for the SIGNAL, and Pin 4 for GROUND)
3. Try out this sample code! (Revised Debug Demo code that uses an external switch)
- Before you compile, download, and run the program...Analyze the code and predict what it will do! What is the purpose of the external switch in the code? What does it do?
- Update your template files
- Create a new project directory called "Debug Demo" and copy the file below into that directory:
|