Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jjcarstens/infrex

Experiment using IR with Elixir
https://github.com/jjcarstens/infrex

Last synced: 5 days ago
JSON representation

Experiment using IR with Elixir

Awesome Lists containing this project

README

        

# Infrex

Experiment using IR with Elixir

## Usage

Currently receiving and decoding signals works pretty well. Sending is
not quite working.

A simple use would be to connect an IR receiver (default pin is GPIO 26),
start the GenServer and initiate recording:

```elixir
iex)> Infrex.start_link(26) # default pin 26
iex)> Infrex.record()

# click the desired button on a remote pointed at your receiver
# after 5 seconds, recording will stop

iex)> Infrex.decode() # decode your recorded signal in state
```