07-13-2021 13:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-13-2021 13:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

Accepted Solutions
07-13-2021 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-13-2021 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
07-13-2021 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-13-2021 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
