 At least some Morse code training software used a code key connected to the serial port, to simulate actual code use.The status bits of the serial port could be sampled very rapidly and at predictable times, making it possible for the software to decipher Morse code.Many settings are required for serial connections used for asynchronous start-stop communication, to select speed, number of data bits per character, parity, and number of stop bits per character.