Skip to content

Hex package to use 8x8 LED matrix or 7-segment displays with MAX72XX microchip in Elixir/Nerves projects

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENCE.md
Notifications You must be signed in to change notification settings

konstantinzolotarev/elixir_max72xx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

ElixirMax72xx available in Hex, the package can be installed by adding elixir_max72xx to your list of dependencies in mix.exs:

def deps do
  [{:elixir_max72xx, "~> 0.1.0"}]
end

Ensure elixir_max72xx is started before your application:

def application(_target) do
      [mod: {MyApplication.Application, []},
       extra_applications: [:elixir_max72xx]]
    end

Configuration

TBD

Example

alias ElixirMax72xx.Matrix

def some_func do
  Matrix.clear()
  Matrix.set_row(1, 0b00111100)
end

About

Hex package to use 8x8 LED matrix or 7-segment displays with MAX72XX microchip in Elixir/Nerves projects

Topics

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENCE.md

Stars

Watchers

Forks

Packages

No packages published

Languages