Add link to dependices
This commit is contained in:
@@ -26,6 +26,7 @@ extern "C" {
|
||||
#include <SoftwareSerial.h>
|
||||
#include <SerialTransfer.h>
|
||||
#include <PubSubClient.h>
|
||||
#include "CG_RadSens.h"
|
||||
|
||||
#define BAUDRATE 9600
|
||||
|
||||
@@ -61,6 +62,9 @@ float temp, hum;
|
||||
bool bLamp, wLamp, reciever;
|
||||
uint8_t statLamp;
|
||||
|
||||
CG_RadSens radSens(RS_DEFAULT_I2C_ADDRESS); /*Constructor of the class ClimateGuard_RadSens1v2,
|
||||
sets the address parameter of I2C sensor.
|
||||
Default address: 0x66.*/
|
||||
|
||||
AsyncWebServer server(80);
|
||||
struct I2cTxStruct {
|
||||
@@ -90,4 +94,5 @@ PubSubClient client(espClient);
|
||||
boolean reconnect();
|
||||
void callback(char* topic, byte* payload, unsigned int length);
|
||||
|
||||
|
||||
#endif // __MAIN__
|
||||
|
||||
Reference in New Issue
Block a user