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: QEI.h
- Revision:
- 3:a9621529946e
- Parent:
- 2:0f8684aeeef3
- Child:
- 4:4092d7f5ca0c
--- a/QEI.h Thu May 09 05:54:05 2019 +0000
+++ b/QEI.h Thu Jan 16 07:26:10 2020 +0000
@@ -78,7 +78,7 @@
double getRotation();
double getRPM();
double getRPS();
- //uint32_t getPosition();
+ uint32_t getPosition();
bool getInvertDirection();
bool getInvertIndex();
@@ -107,7 +107,7 @@
}
protected:
- uint32_t getPosition();
+ //uint32_t getPosition();
uint32_t getVelocity();
uint32_t getPCLK() { return _qei.PCLK; }