Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BMI160 max32630hsp3 MemoryLCD USBDevice
demoUI.h
00001 /* 00002 * demoUI.h 00003 * 00004 * Created on: Nov 29, 2018 00005 * Author: Yagmur.Gok 00006 */ 00007 00008 #ifndef SOURCE_DEMOUI_DEMOUI_H_ 00009 #define SOURCE_DEMOUI_DEMOUI_H_ 00010 00011 #include <events/mbed_events.h> 00012 #include <mbed.h> 00013 00014 #include "screen/LS013B7DH03.h" 00015 00016 enum{ 00017 DISPLAY_WHRM = 0, 00018 DISPLAY_REINIT = 1, 00019 }; 00020 00021 #define USE_DEMO_DISPDEV 00022 #if defined(USE_DEMO_DISPDEV) 00023 00024 00025 void demoUI_init(); 00026 void demoUI_display_algo_estimations(int integer , int confidence); 00027 void demoUI_display_set_algoMode(int algo); 00028 int demoUI_display_get_mode(void); 00029 void demoUI_display(int algoResult); 00030 void demoUI_display_bootldr_screen(void); 00031 00032 00033 #else 00034 void start_demo_display(void); 00035 void display_algo_estimations( uint8_t mode , int integer, int fraction); 00036 void setup_mode_button(void); 00037 00038 #endif 00039 00040 00041 extern volatile uint8_t algoMode; 00042 00043 #endif /* SOURCE_DEMOUI_DEMOUI_H_ */ 00044
Generated on Fri Jul 15 2022 22:42:36 by
