Hardware Interfaces
View SourceElixir Circuits
Dreaming of blinking LEDs or powering on some small DC motor with some Elixir magic? Then you should use Elixir circuits. It provides different interfaces to communicate with hardware devices connected to your target.
There is a quickstart guide you can follow to get started in no time.
Circuits GPIO has a great documentation if you want to use your own firmware and not use Livebook.
As mentioned in the Example projects section, you can find several examples on how to get started with hardware projects such as:
- Blinky, showing you how to blink the onboard LED.
- Hello GPIO, which will use an LED connected to a GPIO Pin, and a manual switch on another one.
These two examples are great ways to get started with electronics on Nerves.