Updated references from MPU6050 to BNO080
Dependencies: QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic
Diff: wheelchair.h
- Revision:
- 14:9caca9fde9b0
- Parent:
- 12:921488918749
- Child:
- 15:ddd61f6dc5ab
diff -r 7b7f85403b4e -r 9caca9fde9b0 wheelchair.h --- a/wheelchair.h Thu Aug 09 16:38:54 2018 +0000 +++ b/wheelchair.h Mon Aug 13 18:22:54 2018 +0000 @@ -13,10 +13,20 @@ #define offset .02f #define low (1.7f/3.3f) #define process .1 + +/* for big mbed board #define xDir D12 //top right two pins #define yDir D13 //top left two pins #define Encoder1 D0 #define Encoder2 D1 +*/ + +//for small mbed board +#define xDir D9 +#define yDir D10 +#define Encoder1 D7 +#define Encoder2 D8 + #define EncoderReadRate 1200 #define Diameter 31.75 /** Wheelchair class