#include "Led.h"
/*
Create an instance of the 'Led' class called 'led':
The constructor for the 'Led' class will be called, and passed the argument you've given here
(in this case, just 13).
*/
Led led(13); // 'Led' is a datatype variable, similar to 'int'. 'led' is the variable name.
void setup() {
led.begin(); // Configures the pin that was set in the constructor.
}
void loop() {
led.dot(); led.dot(); led.dot(); // Functions, prefix with 'morse'
led.dash(); led.dash(); led.dash();
led.dot(); led.dot(); led.dot();
delay(3000);
}