heartrate8 2.0.0.0
|
HeartRate8 Click example. More...
Functions | |
void | plot_res (uint16_t plot_data) |
void | log_res () |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
HeartRate8 Click example.
This example demonstrates the use of Hearth rate 8 Click board.
The demo application is composed of two sections :
Performs the device reset, after which the device configuration can be performed. The device is configured to work in Single Measurement Mode with LED pulsing. The driver which is selected is driver for the GREEN LED Data.
Sends command to start measurement cycle, then waits until measurement cycle is finished. When measurement cycle is done, gets LED ON and LED OFF Data for the selected LED driver (GREEN or IR LED) and performs data plotting on serial plotter every 35ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void log_res | ( | ) |
int main | ( | void | ) |
void plot_res | ( | uint16_t | plot_data | ) |