Nancy Drew: Danger on Deception Island Hints

How do I work the Morse code sender?