/*
Find a match for each character from nameCode string that need to be
transformed to Morse Code. Once the match is found then based on the
Morse code flash the LED for dash and dot.
*/
for(char *cp_nameCode = &nameCode[0]; *cp_nameCode != '\0'; cp_nameCode++)
{
charLoc = GetMorseCode(morseKey, first, last, *cp_nameCode);
for(int col = 1; cp_morseKey[charLoc][col] != '\0'; col++)
{
cp_morseKey[charLoc][col] == '.' ? dot() : dash();
}
}