You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Simple API to drive leds exposed by linux `/sys/class/leds`. Designed for use with [Nerves](http://nerves-project.org/), but works on any distribution of Linux with `/sys/class/leds`.
7
7
8
8
## Installation
9
9
10
-
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
11
-
12
-
1. Add `nerves_leds` to your list of dependencies in `mix.exs`:
13
-
14
-
```elixir
15
-
defdepsdo
16
-
[{:nerves_leds, "~> 0.8.0"}]
17
-
end
18
-
```
19
-
20
-
2. Run `mix deps.get` and `mix compile`
10
+
Add `nerves_leds` to your list of dependencies in `mix.exs`:
21
11
12
+
```elixir
13
+
defdepsdo
14
+
[{:nerves_leds, "~> 0.8.0"}]
15
+
end
16
+
```
22
17
23
-
###Configuration & Usage
18
+
## Configuration & Usage
24
19
25
20
Configure your LEDs mappings:
26
21
@@ -34,27 +29,27 @@ Now, you can use predefined states in your app:
0 commit comments