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.
Fork of Robotkode by
Diff: nucleo_servo.h
- Revision:
- 7:a852e63cac3d
- Parent:
- 6:c2d4a02115db
--- a/nucleo_servo.h Thu Nov 24 09:15:48 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#ifndef _NUCLEO_H_
-#define _NUCLEO_H_
-
-class Servo {
-
-public:
- Servo(PinName pin);
- ~Servo();
- void set_position(float deg);
- void turn_left(float deg);
- void turn_right(float deg);
-private:
- PwmOut *servoPWM;
- float degrees;
-};
-
-
-#endif
\ No newline at end of file
