makes 'RESET' button test work

This commit is contained in:
Brendan Haines 2015-05-15 21:42:12 -06:00
parent c09786801e
commit 074ebefed7

View File

@ -15,6 +15,13 @@
///// END USER PARAMETERS /////
// InterLink Elite Channel Mapping
#define InterLink_Elite_CH5 1
#define InterLink_Elite_CH7 2
#define InterLink_Elite_RESET 3
#define InterLink_Elite_CH8_BACK 4
#define InterLink_Elite_CH8_FRONT 5
class Robot: public IterativeRobot
{
LiveWindow *lw;
@ -63,7 +70,9 @@ public:
{}
void TeleopPeriodic()
{}
{
SmartDashboard::PutBoolean( "resetButton", InterLink->GetRawButton( InterLink_Elite_RESET ) );
}
////////////////
///// TEST /////
@ -72,7 +81,6 @@ public:
void TestPeriodic()
{
lw->Run();
SmartDashboard::PutBoolean( "resetButton", InterLink->GetRawButton(2) );
}
};