Number two: With angle being 16bits and the raw value returned by the sensor ranging between 0 and 4095 this will not work great:Code:' Convert angle to degrees (angle is 0-4095 representing 0-360 degrees) angle = (angle * 360) / 4096
Number two: With angle being 16bits and the raw value returned by the sensor ranging between 0 and 4095 this will not work great:Code:' Convert angle to degrees (angle is 0-4095 representing 0-360 degrees) angle = (angle * 360) / 4096
Bookmarks