3 ms·
I would need to test it more. The accelerometer generates lots of events that would end up changing gravity constantly (when held up); maybe with a low-pass fil
by bambax 2y ago
I would need to test it more. The accelerometer generates lots of events that would end up changing gravity constantly (when held up); maybe with a low-pass filter so that gravity changes more slowly it would work.