Browse Source

Prepare lesson 50

master
Tom Nordal 2 years ago
parent
commit
71e77881d5
  1. 11
      Sensors/src/main.cpp

11
Sensors/src/main.cpp

@ -1,18 +1,11 @@
#include <Arduino.h>
// https://www.youtube.com/watch?v=-AvF2TsB2GI&list=PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP&index=50
// put function declarations here:
int myFunction(int, int);
#include <Arduino.h>
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…
Cancel
Save