test
Dependencies: mbed TrapezoidControl QEI
Input/Rotaryencoder/Rotaryencoder.h@4:ba9df71868df, 2018-10-01 (annotated)
- Committer:
- 7ka884
- Date:
- Mon Oct 01 13:47:19 2018 +0000
- Revision:
- 4:ba9df71868df
- Parent:
- 1:b1219d8ca117
huhuhuh
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
7ka884 | 1:b1219d8ca117 | 1 | #ifndef ROTARYENCODER_H_ |
7ka884 | 1:b1219d8ca117 | 2 | #define ROTARYENCODER_H_ |
7ka884 | 1:b1219d8ca117 | 3 | |
7ka884 | 1:b1219d8ca117 | 4 | namespace ROTARYENCODER { |
7ka884 | 1:b1219d8ca117 | 5 | #define RT11_PIN PB_0 |
7ka884 | 1:b1219d8ca117 | 6 | #define RT12_PIN PA_4 |
7ka884 | 1:b1219d8ca117 | 7 | |
7ka884 | 1:b1219d8ca117 | 8 | #define RT21_PIN PC_2 |
7ka884 | 1:b1219d8ca117 | 9 | #define RT22_PIN PA_1 |
7ka884 | 1:b1219d8ca117 | 10 | |
7ka884 | 4:ba9df71868df | 11 | class Rot { |
7ka884 | 1:b1219d8ca117 | 12 | public: |
7ka884 | 1:b1219d8ca117 | 13 | static void Initialize(); |
7ka884 | 1:b1219d8ca117 | 14 | }; |
7ka884 | 1:b1219d8ca117 | 15 | } |
7ka884 | 1:b1219d8ca117 | 16 | |
7ka884 | 1:b1219d8ca117 | 17 | #endif |