Alejandro Perez / arm
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);
+
+};