This example sounds an alarm after a button is pressed.
On the GrovePi+ or GrovePi Zero, connect a button to port A0 and a buzzer to port D3.
If you're on Raspbian, try this out by running:
mix deps.get
MIX_ENV=prod mix compile
MIX_ENV=prod iex -S mix