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.
Dependencies: mbed TrapezoidControl QEI
Input/Encoder/Encoder.h@29:c78a46f51209, 2019-09-19 (annotated)
- Committer:
- yabahiro
- Date:
- Thu Sep 19 05:42:23 2019 +0000
- Revision:
- 29:c78a46f51209
- Parent:
- 16:3f2c2d89372b
asdsa
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 |