This project fades an LED when you turn a potentiometer knob.
On the GrovePi+ or GrovePi Zero, connect a potentiometer to port A2 and a LED to port D3.
If you're on Raspbian, trying this out by running:
mix deps.get
MIX_ENV=prod mix compile
MIX_ENV=prod iex -S mix