You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • You can use require("Storage").write/readJSON to write/read data for later use.

    However the magnetometer value will depend on what orientation you're in, so really it'd make more sense to do something like have a buttonpress 'reset' the zero value, so you can just press it before you start doing exercise.

About

Avatar for Gordon @Gordon started