Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mRotaryEncoder.cpp
- Revision:
- 10:2502b829d452
- Parent:
- 7:ec80fd9c0c08
- Child:
- 11:20ad86601057
diff -r 36f7abb289c6 -r 2502b829d452 mRotaryEncoder.cpp
--- a/mRotaryEncoder.cpp Sun Dec 20 21:37:35 2015 +0000
+++ b/mRotaryEncoder.cpp Fri Feb 26 20:18:57 2016 +0000
@@ -57,8 +57,8 @@
m_position--;
rotCCWIsr.call();
}
+ rotIsr.call(); // call the isr for rotation
}
- rotIsr.call(); // call the isr for rotation
}
void mRotaryEncoder::rise(void) {
@@ -72,7 +72,7 @@
m_position++;
rotCWIsr.call();
}
+ rotIsr.call(); // call the isr for rotation
}
- rotIsr.call(); // call the isr for rotation
}