Created
June 5, 2012 21:21
-
-
Save ardumont/2878068 to your computer and use it in GitHub Desktop.
signal to the led what to do
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn write-morse | |
"Given a word, make the led blink in morse for each letter (no upper case, no punctuation)" | |
[board word] | |
(doseq [l word] | |
(blink-letter board (m/letters-2-bits l)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment