test

Dependencies:   BMI160 max32630hsp3 MemoryLCD USBDevice

Committer:
seyhmuscacina
Date:
Mon Mar 25 07:40:37 2019 +0000
Revision:
3:b8989dab0f88
Parent:
0:ac4dea3e2894
Fork the repository

Who changed what in which revision?

UserRevisionLine numberNew contents of line
seyhmus.cacina 0:ac4dea3e2894 1 /*
seyhmus.cacina 0:ac4dea3e2894 2 * demoUI.h
seyhmus.cacina 0:ac4dea3e2894 3 *
seyhmus.cacina 0:ac4dea3e2894 4 * Created on: Nov 29, 2018
seyhmus.cacina 0:ac4dea3e2894 5 * Author: Yagmur.Gok
seyhmus.cacina 0:ac4dea3e2894 6 */
seyhmus.cacina 0:ac4dea3e2894 7
seyhmus.cacina 0:ac4dea3e2894 8 #ifndef SOURCE_DEMOUI_DEMOUI_H_
seyhmus.cacina 0:ac4dea3e2894 9 #define SOURCE_DEMOUI_DEMOUI_H_
seyhmus.cacina 0:ac4dea3e2894 10
seyhmus.cacina 0:ac4dea3e2894 11 #include <events/mbed_events.h>
seyhmus.cacina 0:ac4dea3e2894 12 #include <mbed.h>
seyhmus.cacina 0:ac4dea3e2894 13
seyhmus.cacina 0:ac4dea3e2894 14 #include "screen/LS013B7DH03.h"
seyhmus.cacina 0:ac4dea3e2894 15
seyhmus.cacina 0:ac4dea3e2894 16 enum{
seyhmus.cacina 0:ac4dea3e2894 17 DISPLAY_WHRM = 0,
seyhmus.cacina 0:ac4dea3e2894 18 DISPLAY_REINIT = 1,
seyhmus.cacina 0:ac4dea3e2894 19 };
seyhmus.cacina 0:ac4dea3e2894 20
seyhmus.cacina 0:ac4dea3e2894 21 #define USE_DEMO_DISPDEV
seyhmus.cacina 0:ac4dea3e2894 22 #if defined(USE_DEMO_DISPDEV)
seyhmus.cacina 0:ac4dea3e2894 23
seyhmus.cacina 0:ac4dea3e2894 24
seyhmus.cacina 0:ac4dea3e2894 25 void demoUI_init();
seyhmus.cacina 0:ac4dea3e2894 26 void demoUI_display_algo_estimations(int integer , int confidence);
seyhmus.cacina 0:ac4dea3e2894 27 void demoUI_display_set_algoMode(int algo);
seyhmus.cacina 0:ac4dea3e2894 28 int demoUI_display_get_mode(void);
seyhmus.cacina 0:ac4dea3e2894 29 void demoUI_display(int algoResult);
seyhmus.cacina 0:ac4dea3e2894 30 void demoUI_display_bootldr_screen(void);
seyhmus.cacina 0:ac4dea3e2894 31
seyhmus.cacina 0:ac4dea3e2894 32
seyhmus.cacina 0:ac4dea3e2894 33 #else
seyhmus.cacina 0:ac4dea3e2894 34 void start_demo_display(void);
seyhmus.cacina 0:ac4dea3e2894 35 void display_algo_estimations( uint8_t mode , int integer, int fraction);
seyhmus.cacina 0:ac4dea3e2894 36 void setup_mode_button(void);
seyhmus.cacina 0:ac4dea3e2894 37
seyhmus.cacina 0:ac4dea3e2894 38 #endif
seyhmus.cacina 0:ac4dea3e2894 39
seyhmus.cacina 0:ac4dea3e2894 40
seyhmus.cacina 0:ac4dea3e2894 41 extern volatile uint8_t algoMode;
seyhmus.cacina 0:ac4dea3e2894 42
seyhmus.cacina 0:ac4dea3e2894 43 #endif /* SOURCE_DEMOUI_DEMOUI_H_ */
seyhmus.cacina 0:ac4dea3e2894 44