 //
 #define FREQ_HZ 433575000   // 433.575 MHz
 
-unsigned int counter = 0;
-
 //
 // On Lora32 module, OLED reset signal is connected to gpio16.
 //
 Adafruit_SSD1306 display(16);
+
+//
+// Timing for 10 words per minute.
+//
+int dot_msec   = 120;
+int dash_msec  = 360;
+int pause_msec = 360;
+int space_seen;
 
 void setup()
 {

    while (!Serial)
        ;
    Serial.println();
    Serial.println("LoRa Sender Test");

    // Initialize LoRa chip.
    SPI.begin(SCK, MISO, MOSI, SS);

    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.setCursor(0, 20);

    // Visualize the result.
    display.display();
}

void beep(int msec)
{
    // Compute preamble length of required duration.
    // To measure the timing, use plen = msec.
