Advertisement
lamorfini

Untitled

Jul 9th, 2024
38
0
228 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <Arduino.h>
  2.  
  3. int myFunction(int, int);
  4. int result;
  5.  
  6. void setup()
  7. {
  8. Serial.begin(115200);
  9. result = myFunction(2, 3);
  10. Serial.println(result);
  11. }
  12.  
  13. void loop()
  14. {
  15. }
  16.  
  17. int myFunction(int x, int y)
  18. {
  19. return x + y;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement