software:firmware
MakAir Firmware
main_state_machine.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "../includes/alarm_controller.h"
11 #include "../includes/blower.h"
12 #include "../includes/main_controller.h"
13 #include "../includes/pressure_valve.h"
14 
17  public:
20 
26  bool isRunning();
27 
29  void ScreenUpdate();
30 
32  void setupAndStart();
33 
34  private:
37 };
38 
Main state machine.
void setupAndStart()
Run the state machine.
MainStateMachine()
Default constructor.
void ScreenUpdate()
Display information on screen.
bool isRunning()
Check if the state machine is enabled.
bool isMsmActive
Main state machine activation state.
MainStateMachine mainStateMachine