Loading...
Searching...
No Matches
hr_day.c File Reference

Today's heart rate by the hour. See hr_day.h. More...

#include "hr_day.h"
#include <string.h>

Functions

void hr_day_clear (HrDay *day)
 Empties the day, for a new day or a fresh start.
void hr_day_add (HrDay *day, int hour, int bpm)
 Adds one reading to its hour.
int hr_day_hour_avg (const HrDay *day, int hour)
 The average of one hour's readings.
void hr_day_stats (const HrDay *day, int *low, int *avg, int *high)
 The day's lowest and highest readings, and the average of every reading so far.

Detailed Description

Today's heart rate by the hour. See hr_day.h.