Ticker added

Dependencies:   HIDScope MODSERIAL QEI mbed

Fork of Tau_new_ticker_toevoegen by V D

Revision:
12:61f24281f9a3
Parent:
11:6138cfca0081
--- a/main.cpp	Thu Nov 02 12:17:59 2017 +0000
+++ b/main.cpp	Thu Nov 02 14:36:27 2017 +0000
@@ -22,7 +22,7 @@
 //Ticker
 Ticker tick;
 float R = 3;
-float F = 0.2;
+float F = 0.01;
 int counter=0;
 
 // Encoder
@@ -86,6 +86,7 @@
     ledb = 1;
     ledr = 1;
     ledg = 0;
+    Encoder.reset();
     
     // Dice roll code
     while(true){