Begin aan OOP in arduino
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Sietse Jonker & Dano Bosch
|
// Sietse Jonker & Dano van den Bosch
|
||||||
// 28/02/2024
|
// 28/02/2024
|
||||||
|
|
||||||
// include these libraries
|
// include these libraries
|
||||||
|
13
arduino/node-code/node-code-final/nodeCodeHeader.h
Normal file
13
arduino/node-code/node-code-final/nodeCodeHeader.h
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#ifndef nodeClass_h
|
||||||
|
#define nodeClass_h
|
||||||
|
#include "Arduino.h"
|
||||||
|
class nodeReadings {
|
||||||
|
|
||||||
|
private:
|
||||||
|
public:
|
||||||
|
nodeReadings();
|
||||||
|
void readDht();
|
||||||
|
void printNode();
|
||||||
|
// class code goes here
|
||||||
|
};
|
||||||
|
#endif
|
Reference in New Issue
Block a user