skizziks_53

Morse_halford88_h

Aug 20th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. //filename: Morse_halford88.h
  2. // This is a demonstration of a custom library for Arduino use.
  3. // August 20, 2018
  4.  
  5. #ifndef Morse_halford88_h
  6. #define Morse_halford88_h
  7.  
  8. #include "Arduino.h"
  9.  
  10. class Morse_halford88 {
  11. public:
  12. Morse_halford88(int pin);
  13. void setUpValues(); // <----- this is a new method that I made; the cpp file has the explanation.
  14. void dot();
  15. void dash();
  16. private:
  17. int _pin;
  18.  
  19. }; // <------ the ending semicolon was missing here
  20.  
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment