Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Arduino.h>
- int myFunction(int, int);
- int result;
- void setup()
- {
- Serial.begin(115200);
- result = myFunction(2, 3);
- Serial.println(result);
- }
- void loop()
- {
- }
- int myFunction(int x, int y)
- {
- return x + y;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement