https://github.com/konstantinzolotarev/elixir_max72xx
Hex package to use 8x8 LED matrix or 7-segment displays with MAX72XX microchip in Elixir/Nerves projects
https://github.com/konstantinzolotarev/elixir_max72xx
elixir ledmatrix max7219 max7221 nerves nerves-project spi
Last synced: about 1 month ago
JSON representation
Hex package to use 8x8 LED matrix or 7-segment displays with MAX72XX microchip in Elixir/Nerves projects
- Host: GitHub
- URL: https://github.com/konstantinzolotarev/elixir_max72xx
- Owner: konstantinzolotarev
- License: mit
- Created: 2017-03-30T09:06:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-08T12:02:57.000Z (over 8 years ago)
- Last Synced: 2025-08-13T04:37:21.185Z (2 months ago)
- Topics: elixir, ledmatrix, max7219, max7221, nerves, nerves-project, spi
- Language: Elixir
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ElixirMax72xx
`elixir_max72xx` provides high level of abstractions for interfacing with MAX7219/MAX7221
microchips with LED matrix and 7-segment displays using SPI communication bus.**Disclaimer**: This is still under heavy development and probably isn't suited for production use.
Please consider testing and contributing to improving the project.## Documentation
Project and API documentation is available online at [hexdocs.pm](https://hexdocs.pm/elixir_max72xx)## Installation
`ElixirMax72xx` [available in Hex](https://hexdocs.pm/elixir_max72xx), the package can be installed
by adding `elixir_max72xx` to your list of dependencies in `mix.exs`:```elixir
def deps do
[{:elixir_max72xx, "~> 0.1.0"}]
end
```Ensure `elixir_max72xx` is started before your application:
```elixir
def application(_target) do
[mod: {MyApplication.Application, []},
extra_applications: [:elixir_max72xx]]
end
```## Configuration
**TBD**
## Example
```elixir
alias ElixirMax72xx.Matrixdef some_func do
Matrix.clear()
Matrix.set_row(1, 0b00111100)
end
```