Added variable Test SideToF sensore
Dependencies: QEI2 chair_BNO055 PID Watchdog VL53L1X_Filter ros_lib_kinetic
Diff: wheelchair.h
- Revision:
- 0:fc0c4a184482
- Child:
- 1:c0beadca1617
diff -r 000000000000 -r fc0c4a184482 wheelchair.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wheelchair.h Thu Jul 12 18:36:09 2018 +0000 @@ -0,0 +1,29 @@ +#ifndef wheelchair +#define wheelchair + +#include "mbed.h" + +#define def (2.5f/3.3f) +#define high 3.3f +#define low (1.5f/3.3f) +#define process .1 +#define xDir PA_4 //top right two pins +#define yDir D13 //top left two pins + +class Wheelchair +{ +public: + /*Wheelchair(PinName xPin, PinName yPin); + void move(float degrees); + void forward(); + void backward(); + void right(); + void left(); + void stop(); + + private: + AnalogOut* x; + AnalogOut* y; + */ +}; +#endif \ No newline at end of file