The ratio of dot length to dash length in Morse code is 1:3, not 1:4 as in this tutorial. (See any book on Morse code, or Wikipedia.), the interletter spacing is three dot lengths (750 ms in the example) and the interword space is 7 dot lengths.
SOS is a "prosign" (see Wikipedia article) so letter spaces are not needed but it might be better to have the correct interword delay (1750 ms in the example, of which 250 ms is the trailing space of the dot/dash).
The code change is trivial. Presently the code is:-
Hey James, just pop back if you would and "modify" your previous post, highlight in turn each of the sections that are actual "code" and use the "code" ([ # ]) button to mark them up as code, then save it. It will be much more readable and make more sense that way.
Correcting the Arduino tutorials - this is only one of them! Please don't hold your breath!
The tutorial is on how to build a library, not how to build a Morse transmitter. As a result, it doesn't have to meet any quality standards for Morse code transmission. As Robin2 says, don't hold your breath.
I fully understand that people are busy and corrections may take time, but errors must be corrected.
The fact that there is an error suggests that care has not been taken and that there may be other errors.
If I were buying a clock case I would not buy one containing a movement that struck thirteen, no matter how beautiful it was. The thirteenth stroke does not just cast doubt upon itself, but upon all those that went before.*
There's no 'maybe' about it. People copy a circuit, upload the sketch and it doesn't work. So, thinking they have got something wrong they come to the forum. Only to be told that there is an error in the wiring diagram they followed perfectly.
If I were buying a clock case I would not buy one containing a movement that struck thirteen, no matter how beautiful it was.
If the purpose for the clock in the case was simply to show that yours would fit, would you still be having a conniption fit over the fact that the clock wasn't keeping good time?
The purpose of the tutorial was not to build a Morse code transmitter and receiver (clock in pretty case). It was to teach you how to create a library (the pretty case that the clock came in). If you don't like the resulting library, it is now your library. Fix it. Or throw the stupid clock away and use your own in the pretty case.
JamesBryant:
If the person who made the pretty case did not take care with the works, what else, that I may have overlooked, have they not taken care of?
The pretty case was free. Get over it.
It's the price you pay for open source software. Maybe the Microsoft equivalent is better ???
I guess if the examples were hosted in a Wiki system you could correct it yourself. But that might create as many problems as it solves.
Other open source software projects have formal bug reporting systems and TODO lists but I haven't seen any for the Arduino system. Things may not get fixed any quicker but at least there is the illusion that someone cares.