From 4d4da676c689dd544ebe677f4330eaf7bb9b0c9d Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Thu, 5 Oct 2023 08:30:44 -0700 Subject: [PATCH] add missing files from initial import --- .gitignore | 5 +++++ src/main.cpp | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 src/main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89cc49c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.pio +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json +.vscode/ipch diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..cb9fbba --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,18 @@ +#include + +// 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; +} \ No newline at end of file