Telliskivi 2+ peripherals library

Files at this revision

API Documentation at this revision

Comitter:
Reiko
Date:
Tue Sep 02 15:31:07 2014 +0000
Parent:
2:1ef07b660873
Commit message:
Changed ball debounce settings

Changed in this revision

HumanInterface.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HumanInterface.cpp	Mon Nov 04 21:23:17 2013 +0000
+++ b/HumanInterface.cpp	Tue Sep 02 15:31:07 2014 +0000
@@ -24,11 +24,11 @@
         
         buttonGoal.setSamplesTillAssert(20);
         buttonStart.setSamplesTillAssert(20);
-        inputBall.setSamplesTillAssert(4);
+        inputBall.setSamplesTillAssert(2);
         
         buttonGoal.setSampleFrequency(1000);
         buttonStart.setSampleFrequency(1000);
-        inputBall.setSampleFrequency(1000);
+        inputBall.setSampleFrequency(250);
         
         
         redBlinking = false;