It probably wont work in a well lit room as a single LED wont change the resistance of the LDR
There is a sort of version of Morse code that you won't have to teach the Arduino to send, it already knows it. Like Morse, each letter of the alphabet is represented as a pattern of flashes. It is called ASCII code.
Basically you want to replicate how the serial line works.
I can´t even handle libraries