wq2249358611: 看是那种驱动如果是mc3230那种, x = -mc3230_convert_to_int(buffer[0]) * g_value; y = -mc3230_convert_to_int(buffer[1]) * g_value; z = mc3230_convert_to_int(buffer[2]) * g_value; 意思都是一样的
linux中运行include
Gsensor旋转180°怎么处理
wq2249358611: 看是那种驱动如果是mc3230那种, x = -mc3230_convert_to_int(buffer[0]) * g_value; y = -mc3230_convert_to_int(buffer[1]) * g_value; z = mc3230_convert_to_int(buffer[2]) * g_value; 意思都是一样的