- 博客(4)
- 收藏
- 关注
原创 三轴加速度原始数据计算
灵敏度计算: sensitivity = 8g / 32768 ≈ 327688g≈0.00024414 g/LSB。假设数据为:raw_X = 16384,raw_Y = -8192,raw_Z = 4096。16位有效范围( -32768 到 +32767)2、灵敏度计算:±8g = 8 / 2^15;3、计算xyz轴的原始传感器数据;4、位深是16位有符号整数的意思。
2024-11-28 19:37:45
505
原创 ‘getch‘: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name
在高于版本2012的vs编辑中需要使用下面两条语句才不会报错。头文件:#include <conioh.h>库函数:getch()
2023-09-23 09:40:10
411
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅