summaryrefslogtreecommitdiff
path: root/code/main/teensy_goalie/src
diff options
context:
space:
mode:
Diffstat (limited to 'code/main/teensy_goalie/src')
-rw-r--r--code/main/teensy_goalie/src/main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/code/main/teensy_goalie/src/main.cpp b/code/main/teensy_goalie/src/main.cpp
new file mode 100644
index 0000000..cb9fbba
--- /dev/null
+++ b/code/main/teensy_goalie/src/main.cpp
@@ -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;
+} \ No newline at end of file