T-DEV-811/IOT/include/Program.h

37 lines
535 B
C
Raw Normal View History

2023-03-07 10:30:34 +01:00
#ifndef PROGRAM_H
#define PROGRAM_H
#include <Arduino.h>
#include <Ultrasonic.h>
#include "API.h"
2023-03-07 10:30:34 +01:00
class Program{
public:
/**
* @brief Construct the maine Program object
*
*/
Program();
/**
* @brief main loop function
*
*/
void loop();
private:
/* data */
/**
* @brief capteur ultra son pour le niveau de remplissage de la poubelle
*
*/
Ultrasonic *ultrasonic;
/**
* @brief Réference de l'API pour les calls
*
*/
API *api;
2023-03-07 10:30:34 +01:00
};
#endif