lknds

Dependencies:   mbed TrapezoidControl Pulse QEI

Committer:
kishibekairohan
Date:
Mon Jul 01 13:00:20 2019 +0000
Revision:
16:3f2c2d89372b
Parent:
Input/Rotaryencoder/Rotaryencoder.h@4:ba9df71868df
Child:
22:7d93f79a3686
aaa;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kishibekairohan 16:3f2c2d89372b 1 #ifndef ENCODER_H_
kishibekairohan 16:3f2c2d89372b 2 #define ENCODER_H_
7ka884 1:b1219d8ca117 3
kishibekairohan 16:3f2c2d89372b 4 namespace ENCODER {
kishibekairohan 16:3f2c2d89372b 5 #define ECD_A_0 PB_1
kishibekairohan 16:3f2c2d89372b 6 #define ECD_A_1 PB_12
kishibekairohan 16:3f2c2d89372b 7 #define ECD_A_2 PC_4
kishibekairohan 16:3f2c2d89372b 8 #define ECD_A_3 PB_14
7ka884 1:b1219d8ca117 9
kishibekairohan 16:3f2c2d89372b 10 #define ECD_B_0 PB_2
kishibekairohan 16:3f2c2d89372b 11 #define ECD_B_1 PA_11
kishibekairohan 16:3f2c2d89372b 12 #define ECD_B_2 PB_13
kishibekairohan 16:3f2c2d89372b 13 #define ECD_B_3 PB_15
7ka884 1:b1219d8ca117 14
kishibekairohan 16:3f2c2d89372b 15 class ECD {
7ka884 1:b1219d8ca117 16 public:
7ka884 1:b1219d8ca117 17 static void Initialize();
7ka884 1:b1219d8ca117 18 };
7ka884 1:b1219d8ca117 19 }
7ka884 1:b1219d8ca117 20
7ka884 1:b1219d8ca117 21 #endif