The development of Morse code coincided with the invention of the telegraph. Morse code is a system of dots and dashes that represents letters, in order to transmit a message over an electric circuit. The telegraph was the medium for the message.