da
Dependencies: mbed TrapezoidControl QEI
Input/Rotaryencoder/Rotaryencoder.h@1:b1219d8ca117, 2018-09-10 (annotated)
- Committer:
- 7ka884
- Date:
- Mon Sep 10 01:39:15 2018 +0000
- Revision:
- 1:b1219d8ca117
- Child:
- 4:ba9df71868df
A
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 | 1:b1219d8ca117 | 11 | class Int { |
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 |