da
Dependencies: mbed TrapezoidControl QEI
Diff: Input/Encoder/Encoder.h
- Revision:
- 16:3f2c2d89372b
- Parent:
- 4:ba9df71868df
diff -r dfcec98f5aa9 -r 3f2c2d89372b Input/Encoder/Encoder.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Input/Encoder/Encoder.h Mon Jul 01 13:00:20 2019 +0000 @@ -0,0 +1,21 @@ +#ifndef ENCODER_H_ +#define ENCODER_H_ + +namespace ENCODER { + #define ECD_A_0 PB_1 + #define ECD_A_1 PB_12 + #define ECD_A_2 PC_4 + #define ECD_A_3 PB_14 + + #define ECD_B_0 PB_2 + #define ECD_B_1 PA_11 + #define ECD_B_2 PB_13 + #define ECD_B_3 PB_15 + + class ECD { + public: + static void Initialize(); + }; +} + +#endif \ No newline at end of file