User Tools

Site Tools


digispark:florapixels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

digispark:florapixels [2013/03/16 17:12]
Bluebie created - waiting on next digispark app release
digispark:florapixels [2013/03/16 17:16] (current)
Bluebie Added direct download link and improved wording.
Line 1: Line 1:
-[[http://​www.adafruit.com|Adafruit]]'​s [[http://​www.adafruit.com/​products/​1260|Flora NeoPixels]] and other [[http://​www.aliexpress.com/​item/​4m-WS2811-LED-digital-strip-60leds-m-with-60pcs-WS2811-built-in-tthe-5050-smd-rgb/​633124138.html|WS2811 LED strips]] work great with the Digispark. Download the modified ​Digispark-compatible version of Adafruit'​s NeoPixel library from Bluebie'​s [[https://​github.com/​Bluebie/​Adafruit_NeoPixel|github repository]].+===== Using AdaFruit NeoPixels ===== 
 + 
 +[[http://​www.adafruit.com|Adafruit]]'​s [[http://​www.adafruit.com/​products/​1260|Flora NeoPixels]] and other [[http://​www.aliexpress.com/​item/​4m-WS2811-LED-digital-strip-60leds-m-with-60pcs-WS2811-built-in-tthe-5050-smd-rgb/​633124138.html|WS2811 LED strips]] work great with the Digispark. ​[[https://​github.com/​Bluebie/​Adafruit_NeoPixel/​archive/​master.zip|Download]] the Digispark-compatible version of Adafruit'​s NeoPixel library from Bluebie'​s [[https://​github.com/​Bluebie/​Adafruit_NeoPixel|github repository]].
  
 The Digispark has a fairly limited amount of memory and can drive roughly one hundred pixels at a time. If you need more you can network several digisparks together or you might be able to reinitialize the NeoPixel library on a different digital pin and use the same section of memory to write out to another strand, with potentially six different strands of 100 or so LEDs each. The Digispark has a fairly limited amount of memory and can drive roughly one hundred pixels at a time. If you need more you can network several digisparks together or you might be able to reinitialize the NeoPixel library on a different digital pin and use the same section of memory to write out to another strand, with potentially six different strands of 100 or so LEDs each.
  
 To use the NeoPixel library make sure to download the latest version of the Digispark Arduino software (currently unreleased - check back later) which includes the DigisparkTinyPinChange library. Choose the 16.0mhz NO USB board varient. 800khz NeoPixels and WS2811 LED strands are also compatible with the regular 16.5mhz (Tiny Core) board option. 400khz (NeoPixel v1) haven'​t yet been made compatible with 16.5mhz clock speeds. To use the NeoPixel library make sure to download the latest version of the Digispark Arduino software (currently unreleased - check back later) which includes the DigisparkTinyPinChange library. Choose the 16.0mhz NO USB board varient. 800khz NeoPixels and WS2811 LED strands are also compatible with the regular 16.5mhz (Tiny Core) board option. 400khz (NeoPixel v1) haven'​t yet been made compatible with 16.5mhz clock speeds.
 +
 +The included example sketch works great with Digisparks - just change the output pin from 6 to a lower number and plug your pixels in. It's safe to connect your pixels to D3 and D4, but you'll see some crazy colourful glitches during program upload and before your sketch starts when powering your digispark from a computer.
digispark/florapixels.txt · Last modified: 2013/03/16 17:16 by Bluebie