for an electromagnetic telegraph that he completed in . the following year he filed a caveat, or legal notice, at the patent office in washington, d.c., and tried without success to obtain european patents for his apparatus. he also invented a code, now known as the morse code, for use with his telegraph...