Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jjcarstens/infrex
- Owner: jjcarstens
- Created: 2019-11-06T17:56:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T17:56:56.000Z (about 5 years ago)
- Last Synced: 2024-11-18T10:54:00.958Z (2 months ago)
- Language: Elixir
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 stopiex)> Infrex.decode() # decode your recorded signal in state
```