Add link to dependices

This commit is contained in:
2024-11-05 11:43:30 +03:00
parent 73982bcbbb
commit a453adb1af
9 changed files with 72 additions and 14 deletions

View File

@@ -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__