add constants same format as meryem did to constants and also add time dead reckoning
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / DigitalButton.java
1 package org.usfirst.frc.team3501.robot;
2
3 import edu.wpi.first.wpilibj.DigitalInput;
4 import edu.wpi.first.wpilibj.buttons.Button;
5
6 public class DigitalButton extends Button {
7 DigitalInput button;
8
9 public DigitalButton(DigitalInput input) {
10 button = input;
11 }
12
13 @Override
14 public boolean get() {
15 return button.get();
16 }
17
18 }