07-13-2021 13:38
07-13-2021 13:38
What data type of the x y z read from the accelerometer? I am trying to utilize the memory efficiently. Is 1 byte for each value enough?
Answered! Go to the Best Answer.
07-13-2021 13:55
07-13-2021 13:55
Javascript Number. One byte would probably be enough. You'll need to scale the values, taking into account the maximum acceleration that you expect. I've found that you can get 50+ m/s/s, although normal exercise is usually much less.
07-13-2021 13:55
07-13-2021 13:55
Javascript Number. One byte would probably be enough. You'll need to scale the values, taking into account the maximum acceleration that you expect. I've found that you can get 50+ m/s/s, although normal exercise is usually much less.