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: whrmDemoUI/whrmDemoUI.h
- Revision:
- 15:c1d7fdf5d55a
- Parent:
- 14:b2e4b71a9980
diff -r b2e4b71a9980 -r c1d7fdf5d55a whrmDemoUI/whrmDemoUI.h --- a/whrmDemoUI/whrmDemoUI.h Thu Jan 10 08:25:14 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -/* - * 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_ */