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: Input/Encoder/Encoder.h
- Revision:
- 22:7d93f79a3686
- Parent:
- 16:3f2c2d89372b
diff -r e3b58d675c1c -r 7d93f79a3686 Input/Encoder/Encoder.h
--- a/Input/Encoder/Encoder.h Mon Sep 09 00:19:28 2019 +0000
+++ b/Input/Encoder/Encoder.h Tue Sep 17 04:40:17 2019 +0000
@@ -1,6 +1,10 @@
#ifndef ENCODER_H_
#define ENCODER_H_
+#include "QEI.h"
+
+extern QEI encoder[];
+
namespace ENCODER {
#define ECD_A_0 PB_1
#define ECD_A_1 PB_12
@@ -11,6 +15,7 @@
#define ECD_B_1 PA_11
#define ECD_B_2 PB_13
#define ECD_B_3 PB_15
+
class ECD {
public: