feat: init api lib

This commit is contained in:
Clement 2023-03-27 17:42:17 +02:00
parent 31dfa751a3
commit e8ebe48128
2 changed files with 26 additions and 0 deletions

14
IOT/lib/API/include/API.h Normal file
View File

@ -0,0 +1,14 @@
#ifndef API_H
#define API_H
#include <Arduino_JSON.h>
class API {
public:
API();
JSONVar* connect();
};
#endif

12
IOT/lib/API/src/API.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "../include/API.h"
API::API(){
//TODO: implement API constructor
}
JSONVar* API::connect(){
JSONVar* sortie = new JSONVar();
//TODO: implement connect methods
return sortie;
}