RMD-X Motor Library - Last Update V0.5 - On going...... Current available Function - read velocity - read all data - send velocity - send position
Diff: RMD.cpp
- Revision:
- 16:450ab4cb1b3c
- Parent:
- 15:71cdbe24695f
- Child:
- 17:5e45e709936f
--- a/RMD.cpp Wed Nov 04 14:21:23 2020 +0000 +++ b/RMD.cpp Wed Nov 04 14:23:07 2020 +0000 @@ -14,7 +14,7 @@ if (read(msg)){ int fv = (((uint16_t)msg.data[5] << 8) + ((uint16_t)msg.data[4])) / ((uint16_t)6); - return fv + 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]);