Skip to content

Max72XX is a library for driving arrays of MAX72XX as a pixel device

Notifications You must be signed in to change notification settings

luisgabrielroldan/max_72xx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Max72XX

CircleCI Hex version Hex docs

Max72XX is a library for driving arrays of MAX72XX as a pixel device.

Demo

Setup

Add the library to your mix.exs deps:

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

Run mix deps.get to download the new dependency.

Usage

  1. Connect the array to the SPI (There are many guides on Internet)

  2. Start the driver

{:ok, ref} <- Max72XX.Array.start_link("spidev0.0", 4)
  1. Draw pixels and update the matrix
Max72XX.Array.set_pixel(ref, x, y)
...
Max72XX.Array.update(ref)

About

Max72XX is a library for driving arrays of MAX72XX as a pixel device

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages