para el ventilador

Dependencies:   QEI FastPWM

Committer:
miguelangel_2511
Date:
Mon Apr 20 21:58:36 2020 +0000
Revision:
7:f4e248182d31
Parent:
6:d38287621cca
Child:
8:208d965a3bd2
Se agregaron sensores de presion, cuyos valores medidos son mostrados en la pantalla.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
miguelangel_2511 6:d38287621cca 1
miguelangel_2511 6:d38287621cca 2 #ifndef NEXTION_INTERFACE_H_
miguelangel_2511 6:d38287621cca 3 #define NEXTION_INTERFACE_H_
miguelangel_2511 6:d38287621cca 4
miguelangel_2511 6:d38287621cca 5 /* File inclusion */
miguelangel_2511 6:d38287621cca 6 #include "stdint.h"
miguelangel_2511 6:d38287621cca 7
miguelangel_2511 6:d38287621cca 8 /* Object declaration */
miguelangel_2511 6:d38287621cca 9
miguelangel_2511 6:d38287621cca 10 // Serial port for nextion
miguelangel_2511 6:d38287621cca 11 extern Serial nextion_display;
miguelangel_2511 6:d38287621cca 12
miguelangel_2511 7:f4e248182d31 13 // For testing purposes only
miguelangel_2511 7:f4e248182d31 14 //extern Serial pc;
miguelangel_2511 7:f4e248182d31 15
miguelangel_2511 6:d38287621cca 16 /* Global variable declaration */
miguelangel_2511 6:d38287621cca 17 extern uint16_t volume_setpoint_display;
miguelangel_2511 6:d38287621cca 18 extern uint16_t volume_measured_display;
miguelangel_2511 6:d38287621cca 19 extern uint8_t resp_frequency_display;
miguelangel_2511 6:d38287621cca 20 extern float inspiration_time_display;
miguelangel_2511 6:d38287621cca 21 extern float expiration_time_display;
miguelangel_2511 6:d38287621cca 22 extern uint8_t pressure_measured_display;
miguelangel_2511 6:d38287621cca 23 extern uint8_t gas_input_display;
miguelangel_2511 6:d38287621cca 24
miguelangel_2511 6:d38287621cca 25 extern uint16_t selection_box_coordinates[3][4];
miguelangel_2511 6:d38287621cca 26 extern float i_e_ratio_display_table[I_E_RATIO_INDEX_LIMIT][2];
miguelangel_2511 6:d38287621cca 27
miguelangel_2511 6:d38287621cca 28
miguelangel_2511 6:d38287621cca 29 /* Function declaration */
miguelangel_2511 6:d38287621cca 30
miguelangel_2511 6:d38287621cca 31 void Nextion_Interface_Initialize(void);
miguelangel_2511 6:d38287621cca 32 void Parameter_Selection_Box_Update(void);
miguelangel_2511 6:d38287621cca 33 void Parameter_Selection_Box_Remove(void);
miguelangel_2511 6:d38287621cca 34 void Volume_Setpoint_Display_Update(void);
miguelangel_2511 6:d38287621cca 35 void Volume_Setpoint_Fix(void);
miguelangel_2511 6:d38287621cca 36 void Resp_Frequency_Display_Update(void);
miguelangel_2511 6:d38287621cca 37 void Resp_Frequency_Fix(void);
miguelangel_2511 6:d38287621cca 38 void I_E_Ratio_Display_Update(void);
miguelangel_2511 6:d38287621cca 39 void I_E_Ratio_Fix(void);
miguelangel_2511 6:d38287621cca 40
miguelangel_2511 7:f4e248182d31 41 void Pressure_01_Display_Update(void);
miguelangel_2511 7:f4e248182d31 42 void Pressure_02_Display_Update(void);
miguelangel_2511 7:f4e248182d31 43 void Diff_Pressure_Display_Update(void);
miguelangel_2511 7:f4e248182d31 44
miguelangel_2511 6:d38287621cca 45
miguelangel_2511 6:d38287621cca 46
miguelangel_2511 6:d38287621cca 47
miguelangel_2511 6:d38287621cca 48 #endif