README.md

# RotaryEncodex

Some simple logic to use a rotary encoder in Elixir.  Turning clockwise will increment a counter, turning counterclockwise will decrement it.   You can call `RotaryEncodex.get_value()` to get the current value of the counter.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `rotaryencodex` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:rotaryencodex, "~> 0.1.0"}
  ]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/button](https://hexdocs.pm/button).