06-16-2018 08:57
06-16-2018 08:57
Assuming a code snippet like this one:
hrm.onreading = function() {
console.log("Zone: " + user.heartRateZone(hrm.heartRate));
}
What are all potential Zone values one could get? I want to have an if statement doing something different on each zone but can't seem to find the values listed anywhere.
Answered! Go to the Best Answer.
06-19-2018 05:56
06-17-2018 05:05
06-17-2018 05:05
The different zones are listed here. From hight to low you have: peak zone, cardio zone, fatburn zone and out of zone. There is also the possibility of a custom zone which you can set yourself apparently.
I don't know how they will come out of 'hrm.heartRate' but I guess you'll figure that out if you print one out 🙂
06-19-2018 05:56
06-19-2018 05:56
The strings are :
"out-of-range" "fat-burn"
"cardio"
"peak"
06-19-2018 17:24
06-19-2018 17:24
Yes, I knew about that page but wanted to confirm the exact strings.
06-19-2018 17:24
06-19-2018 17:24
Thanks! 🙂