Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: Reading of the actual Angle value of a ADIS16265 values does not fit

$
0
0

Hi,

 

thanks for the quick answer.

 

I just found the problem after taking a small break of the problem.

 

uValue=((SPIReceiveBuffer[0] & 0x3F ) << 8) + SPIReceiveBuffer[1];

m_DigitalOrientationAngle=(double)(uValue * 0.03663) * (M_PI / 180.0);

 

I used "0x3" instead of "0x3F" for the upper byte for the mask.

 

Thanks for help, anyway.

 

Best regards


Richard


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>