Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PID QEI chair_BNO055 ros_lib_kinetic
Fork of wheelchaircontrol by
Diff: wheelchair.h
- Revision:
- 1:c0beadca1617
- Parent:
- 0:fc0c4a184482
- Child:
- 3:a5e71bfdb492
--- a/wheelchair.h Thu Jul 12 18:36:09 2018 +0000
+++ b/wheelchair.h Thu Jul 12 19:06:33 2018 +0000
@@ -13,17 +13,17 @@
class Wheelchair
{
public:
- /*Wheelchair(PinName xPin, PinName yPin);
- void move(float degrees);
- void forward();
- void backward();
- void right();
- void left();
- void stop();
+ Wheelchair(PinName xPin, PinName yPin);
+ void move(float degrees);
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
- private:
- AnalogOut* x;
- AnalogOut* y;
- */
+private:
+ AnalogOut* x;
+ AnalogOut* y;
+
};
#endif
\ No newline at end of file
