Set iPhone accelerometer to ±8g mode

前端 未结 2 2031
轮回少年
轮回少年 2021-02-05 03:09

Is it possible to set iPhone accelerometer to receive data in the ±8g range? (as far as I know ST LIS331DLH accelerometer installed on iPhone supports this mode)

We are

2条回答
  •  甜味超标
    2021-02-05 03:52

    Unfortunately, there is no native way to do this. On the other hand, if you are willing to Jailbreak, there is a Cydia tweak you can get (I can't remember the name) that reduces the sensitivity of the accelerometer. If you have the sensitivity of it at 25%, it should be able to sense ±8g. FYI, if you are reading the output from your app, it will still range from ±2g but with the tweak, you have to remember that the readings will be scaled down by 1/4. (Meaning 2g in the app = 8g in actual space).

提交回复
热议问题