View Source Delux.Morse (delux v0.1.1)

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

Link to this function

encode(c, string, options \\ [])

View Source
@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