mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-15 08:56:34 +02:00
Update: Explain difference between PMS5003 and PMS5003T
This commit is contained in:
@ -1,15 +1,15 @@
|
|||||||
#ifndef _AIR_GRADIENT_H_
|
#ifndef _AIR_GRADIENT_H_
|
||||||
#define _AIR_GRADIENT_H_
|
#define _AIR_GRADIENT_H_
|
||||||
|
|
||||||
|
#include "display/oled.h"
|
||||||
#include "main/BoardDef.h"
|
#include "main/BoardDef.h"
|
||||||
#include "main/HardwareWatchdog.h"
|
#include "main/HardwareWatchdog.h"
|
||||||
#include "main/LedBar.h"
|
#include "main/LedBar.h"
|
||||||
#include "main/PushButton.h"
|
#include "main/PushButton.h"
|
||||||
#include "main/StatusLed.h"
|
#include "main/StatusLed.h"
|
||||||
#include "s8/s8.h"
|
|
||||||
#include "display/oled.h"
|
|
||||||
#include "pms/pms5003.h"
|
#include "pms/pms5003.h"
|
||||||
#include "pms/pms5003t.h"
|
#include "pms/pms5003t.h"
|
||||||
|
#include "s8/s8.h"
|
||||||
#include "sgp41/sgp41.h"
|
#include "sgp41/sgp41.h"
|
||||||
#include "sht4x/sht4x.h"
|
#include "sht4x/sht4x.h"
|
||||||
|
|
||||||
@ -26,11 +26,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
PMS5003 pms5003;
|
PMS5003 pms5003;
|
||||||
/**
|
/**
|
||||||
* @brief Plantower PMS5003T sensor: connect to PM1 connector on outdoor board.
|
* @brief Plantower PMS5003T sensor: connect to PM1 connector on
|
||||||
|
* OPEN_AIR_OUTDOOR.
|
||||||
*/
|
*/
|
||||||
PMS5003T pms5003t_1;
|
PMS5003T pms5003t_1;
|
||||||
/**
|
/**
|
||||||
* @brief Plantower PMS5003T sensor: connect to PM2 connector on outdoor board
|
* @brief Plantower PMS5003T sensor: connect to PM2 connector on
|
||||||
|
* OPEN_AIR_OUTDOOR.
|
||||||
*/
|
*/
|
||||||
PMS5003T pms5003t_2;
|
PMS5003T pms5003t_2;
|
||||||
|
|
||||||
@ -68,7 +70,7 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief RGB LED array
|
* @brief RGB LED array
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
LedBar ledBar;
|
LedBar ledBar;
|
||||||
|
|
||||||
@ -79,28 +81,28 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get I2C SDA pin has of board supported
|
* @brief Get I2C SDA pin has of board supported
|
||||||
*
|
*
|
||||||
* @return int Pin number if -1 invalid
|
* @return int Pin number if -1 invalid
|
||||||
*/
|
*/
|
||||||
int getI2cSdaPin(void);
|
int getI2cSdaPin(void);
|
||||||
/**
|
/**
|
||||||
* @brief Get I2C SCL pin has of board supported
|
* @brief Get I2C SCL pin has of board supported
|
||||||
*
|
*
|
||||||
* @return int Pin number if -1 invalid
|
* @return int Pin number if -1 invalid
|
||||||
*/
|
*/
|
||||||
int getI2cSclPin(void);
|
int getI2cSclPin(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the Board Type
|
* @brief Get the Board Type
|
||||||
*
|
*
|
||||||
* @return BoardType @ref BoardType
|
* @return BoardType @ref BoardType
|
||||||
*/
|
*/
|
||||||
BoardType getBoardType(void);
|
BoardType getBoardType(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the library version string
|
* @brief Get the library version string
|
||||||
*
|
*
|
||||||
* @return String
|
* @return String
|
||||||
*/
|
*/
|
||||||
String getVersion(void);
|
String getVersion(void);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user