Ticker added
Dependencies: HIDScope MODSERIAL QEI mbed
Fork of Tau_new_ticker_toevoegen by
Revision 12:61f24281f9a3, committed 2017-11-02
- Comitter:
- ARGroenenboom
- Date:
- Thu Nov 02 14:36:27 2017 +0000
- Parent:
- 11:6138cfca0081
- Commit message:
- Higher resolution (F=0.01 instead of 0.2)
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6138cfca0081 -r 61f24281f9a3 main.cpp --- 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){