Arduino oop
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
#ifndef nodeClass_h
|
||||
#define nodeClass_h
|
||||
|
||||
// include these libraries
|
||||
#include <Wire.h>
|
||||
#include <Adafruit_SH110X.h>
|
||||
#include <Adafruit_SGP30.h>
|
||||
#include <DHT.h>
|
||||
#include <WiFiMulti.h>
|
||||
#include <WiFi.h>
|
||||
#include <WebSocketsClient.h>
|
||||
#include "Arduino.h"
|
||||
|
||||
class nodeReadings {
|
||||
|
||||
private:
|
||||
public:
|
||||
nodeReadings();
|
||||
void readDht();
|
||||
void printNode();
|
||||
void resetValues();
|
||||
// class code goes here
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user