Team2168 / 2015_Main_Robot

Source code for the 2015 season
2 stars 0 forks source link

Create code for driving the LED lights #88

Closed jcorcoran closed 9 years ago

jcorcoran commented 9 years ago

There needs to be four discrete output channels configured to provide the following signals (for all these signals active = logic high = 5V on the line):

  1. Active when the gripper is engaged (closed), inactive when the gripper is disengaged (open)
  2. Active when the intake is engaged (closed), inactive when the intake is disengaged (open)
  3. Active when the intake wheels are spinning, inactive when the intake wheels are not spinning.
  4. Active when the robot is disabled, Inactive when robot is enabled (auto or tele-operated mode).

All these statuses should be able to be set from within Robot.java. Make a new method that handles the DIO updates to keep the LED light code all in the same place.

jcorcoran commented 9 years ago

See https://github.com/Team2168/2015_Main_Robot/tree/led_lights