View Source Delux.Morse (delux v0.1.0)
Functions for Morse code patterns
Link to this section Summary
Functions
Convert a string to an indicator program
Link to this section Types
@type options() :: [{:words_per_minute, number()}]
Link to this section Functions
@spec encode(Delux.RGB.t(), String.t(), options()) :: Delux.Program.t()
Convert a string to an indicator program
Options:
:words_per_minute
- the rate at which to send the message