No description
Find a file
Pim Kunis 6a5a9eece7 Test if GPIO is alive using Process.alive?/1 instead of using
GenServer's state.
Fix signal sending twice because of copy-paste error.
2019-07-25 14:58:11 +02:00
firmware Don't let Git track secrets file. 2019-07-15 19:36:57 +02:00
morse Test if GPIO is alive using Process.alive?/1 instead of using 2019-07-25 14:58:11 +02:00
ui Fix wrong status code displaying. 2019-07-25 00:00:13 +02:00
.gitignore Port the frontend. 2019-07-14 00:28:47 +02:00
README.md Update Readme. 2019-07-15 19:46:41 +02:00

esrom

Source code for the esrom geocache.

If you have found the source code before finding the geocache, consider it a hint :)

Setup (for future me)

Building:

export MIX_ENV=prod && export MIX_TARGET=<device>
cd ui/assets && npm install && node node_modules/webpack/bin/webpack.js --mode production
cd ../ && mix phx.digest
cd ../firmware && mix deps.get
mix firmware
mix firmware.burn # After inserting SD card

Setting morse code

To set the morse code, create a new file under firmware/config, called secrets.exs:

use Mix.Config

config :morse, :morse_message, "...---..."