project structure
This commit is contained in:
commit
ce06a042cb
7 changed files with 143 additions and 0 deletions
18
src/main.cpp
Normal file
18
src/main.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue