GithubHelp home page GithubHelp logo

cloudwalking / lpd8806fast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adafruit/lpd8806

2.0 4.0 0.0 73 KB

Arduino library for LED strips and pixels using LPD8806. This is a bit of a hack for speeding up the refresh rate without using SPI.

C 10.80% C++ 20.65% Processing 68.56%

lpd8806fast's Introduction

A faster Arduino library for LPD8806

This is a bit of a hack for speeding up LPD8806 LED strip without using SPI. The code was originally written by Michael Noland, "Speeding up LPD8806 show() without hardware SPI" http://michaelnoland.com/speeding-up-lpd8806-show-without-hardware-spi/

To use, replace strip.show() with strip.showCompileTime<ClockPin, DataPin>(ClockPort, DataPort). ClockPin/DataPin are NOT the Arduino board pin numbers, they're the actual pin offset within the port. You can find these numbers with some Googling (eg "Arduino Leonardo pin mapping"). ClockPort and DataPort are the data registers that contain the pins; on my Flora these are both PORTD.

For my Flora with LEDs on data pin 6 and clock pin 12, this is how I show my LEDs: strip.showCompileTime<6, 7>(PORTD, PORTD)

Arduino library for LPD8806

This Library was written for the LPD8806 PWM LED driver chips, strips and pixels. But the LPD8803/LPD8809 will probably work too.

Where to Buy?

Pick some up at Adafruit Industries

Download

Click the Downloads Tab in the Tabbar above. Or follow this link

Installation

  • Uncompress the Downloaded Library
  • Rename the uncompressed folder to LPD8806
  • Check that the LPD8806 folder contains LPD8806.cpp and LPD8806.h
  • Place the LPD8806 library folder your /libraries/ folder, if the libraries folder does not exist - create it first!
  • If your libraries folder already contains an LPD8806 folder, replace it with this version
  • Restart the IDE

lpd8806fast's People

Contributors

cloudwalking avatar incanusuk avatar ladyada avatar paintyourdragon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.