1 changed files with 2 additions and 9 deletions
@ -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:
|
#include <Arduino.h> |
||||||
int myFunction(int, int); |
|
||||||
|
|
||||||
void setup() { |
void setup() { |
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
int result = myFunction(2, 3); |
|
||||||
} |
} |
||||||
|
|
||||||
void loop() { |
void loop() { |
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
} |
} |
||||||
|
|
||||||
// put function definitions here:
|
|
||||||
int myFunction(int x, int y) { |
|
||||||
return x + y; |
|
||||||
} |
|
||||||
Loading…
Reference in new issue