Morse Code Project

Possibly, in setup, set the output pin low after setting it's mode.
digitalWrite(outputPin, low);
You may also want to set it low again after setting it high, with some time period in between.