ใช้สื่อสารกันระหว่าง Brain และ Motion

Dependencies:   Fork_Boss_Communication_Robot

Dependents:   Program_BEAR_Protocol SwitchMode MPU9250AHRS-PGear_Stabilizer SwitchMode ... more

Revision:
10:2398eeafa967
Parent:
8:e1f43b1df0b5
Child:
11:b34eababcf56
--- a/BEAR_Protocol.h	Thu Jan 21 18:48:02 2016 +0000
+++ b/BEAR_Protocol.h	Fri Jan 22 02:25:26 2016 +0000
@@ -35,6 +35,8 @@
     uint8_t setBodyLength(uint8_t,float);
     uint8_t setUpAngleRange(uint8_t,float,float);
     uint8_t setLowAngleRange(uint8_t,float,float);
+    uint8_t setUpLinkLength(uint8_t,float);
+    uint8_t setLowLinkLength(uint8_t,float);
 
 // get Command
     uint8_t getMotorPos(uint8_t,float*,float*);
@@ -50,6 +52,9 @@
     uint8_t getBodyLength(uint8_t,float*);
     uint8_t getUpAngleRange(uint8_t,float*,float*);
     uint8_t getLowAngleRange(uint8_t,float*,float*);
+    uint8_t getUpLinkLength(uint8_t,float*);
+    uint8_t getLowLinkLength(uint8_t,float*);
+    
     
     uint8_t saveDataToEEPROM(uint8_t,uint8_t);
 };
\ No newline at end of file