RMD-X Motor Library - Last Update V0.5 - On going...... Current available Function - read velocity - read all data - send velocity - send position

Revision:
15:71cdbe24695f
Parent:
14:d5b46a356b1f
Child:
16:450ab4cb1b3c
--- a/RMD.cpp	Wed Nov 04 14:14:07 2020 +0000
+++ b/RMD.cpp	Wed Nov 04 14:21:23 2020 +0000
@@ -14,13 +14,14 @@
     if (read(msg)){
 
         int fv = (((uint16_t)msg.data[5] << 8) + ((uint16_t)msg.data[4])) / ((uint16_t)6);
-        
+        return fv
         //printf(" Speed : %d\n", fv);
 //        printf(" Speed high byte: %x\n", msg.data[5]); 
 //        printf(" Speed low byte: %x\n", msg.data[4]);      
 //        printf(" -------------------------- \n");  
+
         }
-    return fv
+    
 
 }