Nibbles and Bits
The Care and Feeding of My Pet Arduino by Budd Churchward - WB7FHC - NIBBLES AND BITS LIBRARY
«1 2 3 4 5 6 7 8 9 10 11 12 13 15 16 17 18 19 » |
Section 12
In this section we will not be making any changes to the sketch. If any errors have found their way into your version, copy everything listed here and use it to start a fresh version of your project.
So here is your assignment, send the following letters in Morse Code. Send them slowly and carefully in the order we have them here:
T E M N A I O
Did you get the digits: 2 3 4 5 6 7 8?
The smallest number we are going to produce with our system is 2 for the letter T. There isn't anything you can send that will give you a 0 or a 1. In the next section, we will create an array of letters that will continue this sequence: # # T E M N A I O G K D W R U S ... and then pull one character out of the list using Arduino's magic little number that we have worked so long to produce.
International Morse Code A •- B -••• C -•-• D -•• E • F ••-• G --• H •••• I •• J •--- K -•- L •-•• M -- N -• O --- P •--• Q --•- R •-• S ••• T - U ••- V •••- W •-- X -••- Y -•-- Z --•• 1 •---- 2 ••--- 3 •••-- 4 ••••- 5 ••••• 6 -•••• 7 --••• 8 ---•• 9 ----• 0 ----- . •-•-•- [period] , --••-- [comma] ? ••--•• [question mark] ! -•-•-- [exclamation mark] @ •--•-• [at sign] - -••••- [hyphen] : ---••• [colon] |
|