Skip to content

Commit

Permalink
Updated for CodeMash 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Schlehlein committed Jan 9, 2018
1 parent 6e63deb commit 415043c
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions morse/morse.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,49 @@ void dah() {
}

void loop() {
dah();
dit();
dit();
dah();
dit();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dah();
dah();
dah();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dah();
dit();
dit();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dit();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dah();
dah();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dit();
dah();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dit();
dit();
dit();
dah();

delay(LETTER_SPACING * ONE_UNIT_DURATION);

dit();
dit();
dit();
dit();

delay(WORD_SPACING * ONE_UNIT_DURATION);
}

0 comments on commit 415043c

Please sign in to comment.