 The first serial communication devices (with fixed-length pulses) were rotating mechanical switches ("commutators").Various character codes using 5, 6, 7, or 8 data bits became common in teleprinters and later as computer peripherals.The teletypewriter made an excellent general-purpose I/O device for a small computer.