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:
- 4:4092d7f5ca0c
- Parent:
- 3:a9621529946e
- Child:
- 5:a7972b08669b
--- a/QEI.h Thu Jan 16 07:26:10 2020 +0000
+++ b/QEI.h Thu Jan 16 07:35:40 2020 +0000
@@ -6,6 +6,14 @@
#include "qei_api.h"
#include "mbed.h"
+/**
+togashi 改良点
+1.QEI.cpp 34行目 setMaxPos()関数の引数の値を変更
+ qei->POS変数をみたところ,10bitでcountされていてオーバーフローするため
+2.QEI.cpp 189行目 rpmの情報
+ 無理やり符号をつけました.バグがあったらすいません
+**/
+
class QEI
{
public: