       char c = alphabet->decode(&inputSymbols[0], inputIndex);
 
       if (c != '\0') { //print the character
-        Serial.print(c);
+        outputCharacter(c);
       } else { // couldn't find character, print symbols
         for (int i = 0; i < inputIndex; i++) {
-          Serial.print(getDotDashOrSpaceSymbolString(inputSymbols[i]));
+          outputString(getDotDashOrSpaceSymbolString(inputSymbols[i]));
         }
       }
 
       if (result == WORD_SPACE) {
-        Serial.print(' ');
+        outputCharacter(' ');
         spaceProcessed = true;
       }
 


//------------------------------------------------------------------------------

int determineDotDash(unsigned long holdMillis);
int determineLetterWordSpace(unsigned long spaceMillis);
String getDotDashOrSpaceString(int input);

//------------------------------------------------------------------------------

void setup() {
  #ifdef TFT_DISPLAY
    tft.initR(INITR_BLACKTAB);
    tft.fillScreen(ST7735_BLACK);
    tft.setTextSize(2);
    tft.setCursor(0, 0);

  #else
    pinMode(LED, OUTPUT);
    pinMode(BUTTON, INPUT_PULLUP);
  #endif
  
  Serial.begin(9600);

  alphabet = MorseNode::getInternationalAlphabet();
