Extension activities for switch sensors

From ROBOTC API Guide
Jump to: navigation, search

Stop at Obstacles

program the robot to drive in a square. if the robot detects an obstacle, have the robot stop and wait for the obstacle to be removed.

Notepad.gif TODO: make and insert a video example

Binary Clock, adjustable

Take the Binary clock activity from the LED section and add some buttons to allow a user to adjust the time without a computer. Some possible button ideas is a button that increments everything. A separate button for incrementing the minutes and hours. You could even use 4 buttons and have a button increase the minutes, decrease the minutes, increase the hours, decrease the hours.

Notepad.gif TODO: insert images of the different configurations