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.
Diff: arm.h
- Revision:
- 0:ed8d2fd5fb9d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/arm.h Sun Nov 27 04:35:20 2022 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+class Arm {
+public:
+ //initialize serial ports
+ Arm(PinName tx, PinName rx);
+ //move 1-6 servos at a time funtions
+ void moveServo(int16_t motor, int16_t position, int16_t time);
+private:
+ Serial async_port;
+ char getID(int16_t motor);
+// char GET_LOW_BYTE(uint8_t b);
+// char GET_HIGH_BYTE(uint8_t b);
+
+};