Example Host software for integration of MAX3266x chips (, MAX32664GWEB) equipped with Heart Rate from Wrist Algorithm. This is “stand-alone” software that runs on the MAX32630 low-power microcontroller to display heart rate on the display of the MAXREFDES101 reference design. It is intended provide a simple example of how to initialize and communicate with the sensor hub. Windows and Android communications are not supported.
Dependencies: Maxim_Sensor_Hub_Communications BMI160 whrmDemoUI max32630hsp3
Fork of Host_Software_MAX32664GWEB_HR_wrist by
Diff: demoUI/whrmDemoUI.h
- Revision:
- 13:3d1a6b947396
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demoUI/whrmDemoUI.h Thu Jan 10 11:06:01 2019 +0300 @@ -0,0 +1,45 @@ +/* + * demoUI.h + * + * Created on: Nov 29, 2018 + * Author: Yagmur.Gok + */ + +#ifndef SOURCE_DEMOUI_WHRMDEMOUI_H_ +#define SOURCE_DEMOUI_WHRMDEMOUI_H_ + +#include <events/mbed_events.h> +#include <mbed.h> + +#include "screen/LS013B7DH03.h" + +enum{ + DISPLAY_WHRM = 0, + DISPLAY_REINITWHRM = 1 +}; + +#define USE_DEMO_DISPDEV +#if defined(USE_DEMO_DISPDEV) + + + void demoUI_init(); + void demoUI_display_algo_estimations(int integer); + void demoUI_display_set_algoMode(int algo); + int demoUI_display_get_mode(void); + void demoUI_display(int algoResult); + + + +#else + void start_demo_display(void); + void display_algo_estimations( uint8_t mode , int integer, int fraction); + void setup_mode_button(void); + +#endif + + +extern volatile uint8_t algoMode; + + + +#endif /* SOURCE_DEMOUI_WHRMDEMOUI_H_ */