Signal Corps in the American Civil War
The Signal Corps in the American Civil War comprised two organizations: the U.S. Army Signal Corps, which began with the appointment of Major Albert J. Myer as its first signal officer just before the war and remains an entity to this day, and the Confederate States Army Signal Corps, a much smaller group of officers and men, using similar organizations and techniques as their Union opponents. Both accomplished tactical and strategic communications for the warring armies, including electromagnetic telegraphy and aerial telegraphy ("wig-wag" signaling).
Source: Wikipedia — Signal Corps in the American Civil War (CC BY-SA 4.0)