project structure

This commit is contained in:
Siwat Sirichai 2024-03-17 14:09:00 +07:00
commit ce06a042cb
7 changed files with 143 additions and 0 deletions

18
src/main.cpp Normal file
View file

@ -0,0 +1,18 @@
#include <Arduino.h>
// put function declarations here:
int myFunction(int, int);
void setup() {
// put your setup code here, to run once:
int result = myFunction(2, 3);
}
void loop() {
// put your main code here, to run repeatedly:
}
// put function definitions here:
int myFunction(int x, int y) {
return x + y;
}