init main program object

This commit is contained in:
Clément Boesmier
2023-03-07 10:30:34 +01:00
parent 30a198b3b5
commit 2c76f567b3
3 changed files with 36 additions and 2 deletions

10
IOT/src/Program.cpp Normal file
View File

@ -0,0 +1,10 @@
#include "Program.h"
Program::Program(){
}
void Program::loop(){
}

View File

@ -1,9 +1,12 @@
#include <Arduino.h>
#include "Program.h"
Program* program;
void setup() {
// put your setup code here, to run once:
program = new Program();
}
void loop() {
// put your main code here, to run repeatedly:
program->loop();
}