Team2168 / 2014_Main_Robot

Code for the 2014 FRC season.
Other
2 stars 1 forks source link

Create flashlight subsystem #23

Closed jcorcoran closed 10 years ago

jcorcoran commented 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

jcorcoran commented 10 years ago

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.