add GET/ PUT from local server on monitor

This commit is contained in:
Phat Nguyen
2024-03-30 19:33:03 +07:00
parent a2200795d7
commit 378688d2fa
4 changed files with 581 additions and 380 deletions

View File

@ -13,6 +13,16 @@
#include "Sgp41/Sgp41.h"
#include "Sht/Sht.h"
/**
* @brief RGB LED bar mode for ONE_INDOOR board
*
*/
enum UseLedBar {
UseLedBarOff, /** Don't use LED bar */
UseLedBarPM, /** Use LED bar for PMS */
UseLedBarCO2, /** Use LED bar for CO2 */
};
/**
* @brief Class with define all the sensor has supported by Airgradient. Each
* sensor usage must be init before use.
@ -109,16 +119,16 @@ public:
/**
* @brief Get the Board Name object
*
* @return String
*
* @return String
*/
String getBoardName(void);
/**
* @brief Round double value with for 2 decimal
*
*
* @param valuem Round value
* @return double
* @return double
*/
double round2(double value);