add comments for noobs who need help
[3501/2015-FRC-Spark] / src / org / usfirst / frc3501 / RiceCatRobot / subsystems / Arm.java
index 50322e52d091cf061077d82eb31cbae2d57d85d0..947d1659eeb799b613796087e13a2dd1f0039bd6 100644 (file)
@@ -22,11 +22,11 @@ public class Arm extends Subsystem {
   }
   
   public boolean isSwitchHit() {
-      return counter.get() > 0;
-  }
+      return counter.get() > 0; //detects if switch is hit
+  } 
   
   public void initializeCounter() {
-      counter.reset();
+      counter.reset(); //resets the counter back to 0
   }
 
   public void fineTuneControl(double d) {