Difference between revisions of "CanServo/POSITION-32"
Jump to navigation
Jump to search
(Created page with "회전수가 포함된 위치값 ( TURN x 16384 + POSITION ) 을 32 비트 값으로 확인할수 있습니다. 32 bit = 4 byte 이므로, 2 byte 씩 나누어 2개의 Registe...") |
|||
Line 1: | Line 1: | ||
2 Registers | |||
* Low 2 byte = 0x1A | |||
** Low Word = ( TURN x 16384 + POSITION ) & 0xFFFF; | |||
* | * High 2 byte = 0x1C | ||
** High Word = ( ( TURN x 16384 + POSITION ) >> 16 ) & 0xFFFF; | |||
** High |
Revision as of 16:22, 29 September 2021
2 Registers
- Low 2 byte = 0x1A
- Low Word = ( TURN x 16384 + POSITION ) & 0xFFFF;
- High 2 byte = 0x1C
- High Word = ( ( TURN x 16384 + POSITION ) >> 16 ) & 0xFFFF;