Dyanamixel
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard YOZAKURA_ARM_Keyboard0424 ... more
Revision 11:cb0d11254b22, committed 2015-04-25
- Comitter:
- yusuke_kyo
- Date:
- Sat Apr 25 06:07:02 2015 +0000
- Parent:
- 9:0927a7b74806
- Child:
- 12:7affd17fcb66
- Child:
- 14:874b672847bc
- Commit message:
- debug
Changed in this revision
MX28.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MX28.cpp Fri Apr 24 17:07:46 2015 +0000 +++ b/MX28.cpp Sat Apr 25 06:07:02 2015 +0000 @@ -276,7 +276,6 @@ int ErrorCode = read(_ID, MX28_REG_CURRENT, 2, data); // float current = ((data[0]+(data[1] << 8))-0x800)*0.0045; short nama = (data[0]+(data[1] << 8)); - printf("%d",nama); float current = nama*10; return(current); }