Port morse code.

This commit is contained in:
Pim Kunis 2019-07-14 17:23:37 +02:00
parent cbec08aae8
commit e93bbcf242
6 changed files with 67 additions and 7 deletions

View file

@ -22,7 +22,7 @@ defmodule UiWeb.PageController do
case get_start_time() do
start_time when start_time + 35 <= now ->
System.put_env("MORSE_START_TIME", Integer.to_string(now))
Morse.signal("...---...")
Morse.signal()
text(conn, "Done.")
_ ->
text(conn, "It is still in progress...")