Rotary encoder library. Add: void setInterval(timestamp_t t) for Nucleo F401RE
Fork of RotaryEncoder by
Revision 6:cfc8f362bce6, committed 2018-09-22
- Comitter:
- ryood
- Date:
- Sat Sep 22 23:45:16 2018 +0000
- Parent:
- 5:60c44df48016
- Commit message:
- Corresponds to Callback class
Changed in this revision
RotaryEncoder.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 60c44df48016 -r cfc8f362bce6 RotaryEncoder.h --- 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;