ecg2 2.0.0.0
|
ECG2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint32_t | time |
ECG2 Click example.
This is an example that demonstrates the use of the ECG 2 Click board.
The demo application is composed of two sections :
Initializes SPI and UART communication, configures INT pin as INPUT, RST pin as OUTPUT, CS pin as OUTPUT and PWM pin as OUTPUT. Initializes SPI driver, initializes ECG2 click, sends START and RDATAC opcodes.
Captures readings from channel and plots data to serial plotter.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint32_t time |