software:firmware
MakAir Firmware
main_controller.h File Reference

Core logic to control the breathing cycle. More...

Go to the source code of this file.

Classes

class  MainController
 Controls breathing cycle. More...
 

Macros

#define MAX_PRESSURE_SAMPLES   10u
 Number of values to aggregate when computing plateau pressure. More...
 

Variables

MainController mainController
 

Detailed Description

Core logic to control the breathing cycle.

Author
Makers For Life

Definition in file main_controller.h.

Macro Definition Documentation

◆ MAX_PRESSURE_SAMPLES

#define MAX_PRESSURE_SAMPLES   10u

Number of values to aggregate when computing plateau pressure.

Definition at line 30 of file main_controller.h.

Variable Documentation

◆ mainController

MainController mainController
extern

Definition at line 20 of file main_controller.cpp.