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

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();
}