heartrate6
2.0.0.0
|
HeartRate6 Click example. More...
Functions | |
void | plot_res (uint16_t plot_data) |
void | log_res () |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
HeartRate6 Click example.
The example demonstrates the use of Heart rate 6 Click board.
The demo application is composed of two sections :
Initializes interface and performs the device configuration and reset.
Waits until measurement cycle is finished and data is ready for reading. Then reads the LED Data values and performs the data plotting on serial plot, or logging on uart.
note: Uart baud rate should be as high as possible, then data plotting will be better. The new measurement cycle is started when command for measurement starting is sent, or when register 0x57 is read out. Also the pressure on sensor must be same for the all measurement time, if we want to get the valid results. This is very important to device can work properly.
void application_init | ( | void | ) |
void application_task | ( | void | ) |
void log_res | ( | ) |
void main | ( | void | ) |
void plot_res | ( | uint16_t | plot_data | ) |