aa
Dependencies: mbed TrapezoidControl QEI
Input/Encoder/Encoder.h@47:b6e5a6bfe7ab, 2019-10-05 (annotated)
- Committer:
- yabahiro
- Date:
- Sat Oct 05 21:53:35 2019 +0000
- Revision:
- 47:b6e5a6bfe7ab
- Parent:
- 16:3f2c2d89372b
aa;
Who changed what in which revision?
User | Revision | Line number | New 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 |