Skip to content

Commit 5328ad5

Browse files
authored
Merge pull request #16 from Granjow/feature/granjow/extend-readme
Readme: State when to use this over NeoPixel
2 parents 9e2f8c7 + 7f3d7c3 commit 5328ad5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,15 @@ which allows to **control hundreds of pixels** with e.g. a small ATtiny85.
77
The [Adafruit NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel) library allocates 4 bytes
88
per LED, and an ATtiny85 can only control a bit more than 50 pixels.
99

10-
More info at:
10+
So why use the Adafruit NeoPixel library at all? There are good reasons for both.
11+
12+
* Use SimpleNeoPixel if you want to control loads of pixel and your code is *fast*,
13+
and you are not afraid of manually adjusting some timings in the library, if required.
14+
* Use Adafruit NeoPixel as an out-of-the-box solution to control as many pixels
15+
as fit into the microcontroller’s dynamic memory, without worrying about low-level performance.
16+
17+
*Fast* means less than 6 µs per pixel. This allows for some arithmetic operations,
18+
but a sine is already far too slow.
19+
20+
More in-depth info at:
1121
[NeoPixels Revealed: How to (not need to) generate precisely timed signals](http://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/)

0 commit comments

Comments
 (0)