嗨娟,
你如何将int16字转换为工程单位?我正在使用LIS331HH传感器读取加速度计。
我能够读取两个寄存器OUT_X_H& OUT_X_L并将它们组合成一个int16字。但是,我不知道如何将其转换为加速度的gs。 -32768到32767会对应-12g到+ 12g吗?
请指教。
谢谢,
卡迈勒乔希
以上来自于谷歌翻译
以下为原文
Hi Juan,
What do you do to convert the int16 word to engineering units ? I am using LIS331HH sensor for reading the accelerometer.
I am able to read the two registers OUT_X_H & OUT_X_L and combine them into an int16 word. however, I am not sure how to convert it into gs of acceleration. Would -32768 to 32767 correspond to -12g to +12g ?
Please advise.
Thanks,
Kamal Joshi
嗨娟,
你如何将int16字转换为工程单位?我正在使用LIS331HH传感器读取加速度计。
我能够读取两个寄存器OUT_X_H& OUT_X_L并将它们组合成一个int16字。但是,我不知道如何将其转换为加速度的gs。 -32768到32767会对应-12g到+ 12g吗?
请指教。
谢谢,
卡迈勒乔希
以上来自于谷歌翻译
以下为原文
Hi Juan,
What do you do to convert the int16 word to engineering units ? I am using LIS331HH sensor for reading the accelerometer.
I am able to read the two registers OUT_X_H & OUT_X_L and combine them into an int16 word. however, I am not sure how to convert it into gs of acceleration. Would -32768 to 32767 correspond to -12g to +12g ?
Please advise.
Thanks,
Kamal Joshi
举报