Giter Club home page Giter Club logo

ledmatrixdriver's Introduction

LEDMatrixDriver

A replacement for Arduino's LedControl library.

Features

  • Can driver more than 8 segments (limited only by the memory),
  • Writing to the display is controlled by the software,
  • Much, much faster (as it uses hardware SPI with soft SS)
  • Can use an external memory or self-allocated buffer
  • (Optional) support for Adafruit_GFX library - use -DUSE_ADAFTUIT_GFX to enable.

Pin selection

Each segment of the display needs 16 bits and they can all be shifted in at once. To make transfers much faster I have decided to use hardware SPI. The pins are therefore fixed:

  • MOSI is connected to DIN,
  • SCK is connected to CLK,
  • MISO can't be used (unless by other SPI device),
  • SS can't be used (we're not using the hardware pin).

The user has to select which pin to use for software SS but don't use any of the hardware SPI pins. Please check pin numbers specific for your hardware platform.

Contributors

  • Marko Oette - patches for Arduino AVR platform, example sketch
  • Søren Thing Andersen - support for 7-seg displays with examples

ledmatrixdriver's People

Contributors

bartoszbielawski avatar moette avatar wilmsn avatar sthing avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.