// morse_beacon.ino
// #include <Arduino.h> // optional
#define dot _dot();
#define dash _dash();
#define space _space();
#define _h morse_h();
#define _e morse_e();
#define _l morse_l();
#define _o morse_o();

#define hello _hello();

void _dot()   { Serial.print("."); }
void _dash()  { Serial.print("-"); }
void _space() { Serial.print("  "); }

void morse_h() {
    dot dot dot dot
}

void morse_e() {
    dot
}

void morse_l() {
    dot dash dot dot
}

void morse_o() {
    dash dash dash
}

void _hello() {
    space
    _h space
    _e space
    _l space
    _l space
    _o
    space space space
}

void setup() {
    Serial.begin(9600);
    space hello space
    delay(2200);
}

void loop() {
    space hello space space space space space hello space
    delay(2200);
}

// Saved: Wed 26 Oct 14:12:17 UTC 2022
// END.