Es un backup para las pruebas de firmware y hardware de un ventilador
Dependencies: mbed QEI FastPWM
Diff: ventilator.h
- Revision:
- 8:208d965a3bd2
- Parent:
- 7:f4e248182d31
- Child:
- 10:b2d87404309a
--- a/ventilator.h Mon Apr 20 21:58:36 2020 +0000 +++ b/ventilator.h Thu Apr 23 17:05:36 2020 +0000 @@ -16,6 +16,11 @@ Main_Screen_I_E_Ratio_Adjust = 4 }Main_Screen_State_t; + +/* Object declaration */ +extern Ticker ticker_int_1ms; + + /* Global variable declaration */ extern volatile uint8_t read_pressure_sensors_flag; extern volatile uint8_t pressure_sensor_display_update_flag; @@ -34,10 +39,11 @@ /* Function declaration */ +void System_Initialize(void); void Nextion_Encoder_Interaction(void); void Nextion_Update_Sensor_Values(void); void Nextion_Update_Waveform_Values(void); - +void Ticker_ISR(void); // ISR that is called when the timer reaches the set value /* Inline functions */ static inline void Encoder_Read(){