From 71e77881d5a67b58cd0094e66a5457bb1070afe1 Mon Sep 17 00:00:00 2001 From: Tom Nordal Date: Tue, 25 Jun 2024 09:49:49 +0200 Subject: [PATCH] Prepare lesson 50 --- Sensors/src/main.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Sensors/src/main.cpp b/Sensors/src/main.cpp index cb9fbba..1c9f9e0 100644 --- a/Sensors/src/main.cpp +++ b/Sensors/src/main.cpp @@ -1,18 +1,11 @@ -#include +// https://www.youtube.com/watch?v=-AvF2TsB2GI&list=PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP&index=50 -// put function declarations here: -int myFunction(int, int); +#include 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