Converting 16-bit, little-endian, 2's complement integer to regular integer
17 views (last 30 days)
I'm trying to get various data sets (accelerometer, gyroscope etc.) from a AHRS (a CHR-UM6) and I'm having trouble getting the values out in the correct form. The data received (for each value) is a two row column vector such as:
These numbers are 16-bit, little-endian, 2's complement and I need to get the actual value. I hope someone can help!