Closed jcorcoran closed 10 years ago
There will be a flashlight on the robot to help our partners catch a ball we throw to them.
Create a subsystem that will turn this flashlight on and off using the Relay class: http://team2168.org/javadoc/edu/wpi/first/wpilibj/Relay.html
We are going to want to switch between the light being on and off. So your methods should support performing those actions.
bonus points if you call the subsystem PhotonCannon
Once the subsystem is made, it should be quick to make two commands for this subsystem. One to turn the light on and one to turn it off.
There will be a flashlight on the robot to help our partners catch a ball we throw to them.
Create a subsystem that will turn this flashlight on and off using the Relay class: http://team2168.org/javadoc/edu/wpi/first/wpilibj/Relay.html
We are going to want to switch between the light being on and off. So your methods should support performing those actions.
bonus points if you call the subsystem PhotonCannon