29 lines
346 B
C++
29 lines
346 B
C++
#ifndef PROGRAM_H
|
|
#define PROGRAM_H
|
|
|
|
#include "DHT.h"
|
|
|
|
class Program{
|
|
public:
|
|
/**
|
|
* @brief Construct the maine Program object
|
|
*
|
|
*/
|
|
Program();
|
|
|
|
/**
|
|
* @brief main loop function
|
|
*
|
|
*/
|
|
void loop();
|
|
|
|
private:
|
|
/* data */
|
|
|
|
/**
|
|
* @brief capteur humi/temp
|
|
*
|
|
*/
|
|
DHT *dht;
|
|
};
|
|
#endif |