Rotary encoder library. Add: void setInterval(timestamp_t t) for Nucleo F401RE

Dependents:   BSM02

Fork of RotaryEncoder by Shinichiro Nakamura

Revision:
6:cfc8f362bce6
Parent:
5:60c44df48016
--- a/RotaryEncoder.h	Sat Sep 22 23:39:43 2018 +0000
+++ b/RotaryEncoder.h	Sat Sep 22 23:45:16 2018 +0000
@@ -113,8 +113,8 @@
     const int min;
     const int max;
     int val;
+    us_timestamp_t interval;
     Ticker ticker;
-    us_timestamp_t interval;
 
     uint8_t code;