mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated Home (markdown)
43
Home.md
43
Home.md
@@ -15,45 +15,8 @@ This is an Arduino Library that supports sending out data to update a series of
|
||||
* SK6812rgb and SK6812rgbw (three and four channel pixels that have the extra white LED in them)
|
||||
* All one wire RGB pixels that use a the same transport as any of the above.
|
||||
|
||||
## Smaller Code
|
||||
The library was written to be small. The template based coding pattern allows the compiler to produce smaller code while still supporting all the options. This is important when you are working on smaller Arduinos like a Gemma.
|
||||
|
||||
This is the sketch output from the Adafruit's NeoPixel Library StrandTest example for Gemma platform. Reasonably small and memory efficient.
|
||||
Arduino IDE 1.6.5
|
||||
```
|
||||
Sketch uses 3,498 bytes (65%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 39 bytes of dynamic memory.
|
||||
```
|
||||
Arduino IDE 1.6.7
|
||||
```
|
||||
Sketch uses 3,534 bytes (66%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 39 bytes of dynamic memory..
|
||||
```
|
||||
|
||||
This is the sketch output from FastLED library on the same StrandTest example for the same Gemma platform. Uses almost all the program space available and six times the memory of the Adafruit library.
|
||||
Arduino IDE 1.6.5
|
||||
```
|
||||
Sketch uses 4,878 bytes (91%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 261 bytes of dynamic memory.
|
||||
```
|
||||
Arduino IDE 1.6.7
|
||||
```
|
||||
Sketch uses 4,914 bytes (92%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 261 bytes of dynamic memory.
|
||||
```
|
||||
|
||||
And this is the sketch output from this NeoPixelBus library on the same StrandTest example for the same Gemma platform. 532 more bytes of code are available and another 5 bytes of ram than the Adafruit library.
|
||||
Arduino IDE 1.6.5
|
||||
```
|
||||
Sketch uses 2,966 bytes (55%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 34 bytes of dynamic memory.
|
||||
```
|
||||
Arduino IDE 1.6.7
|
||||
```
|
||||
Sketch uses 3,002 bytes (56%) of program storage space. Maximum is 5,310 bytes.
|
||||
Global variables use 34 bytes of dynamic memory.
|
||||
```
|
||||
|
||||
## [Smaller Code](https://github.com/Makuna/NeoPixelBus/wiki/Smaller-Code)
|
||||
This library was written to be small. The template based coding pattern allows the compiler to produce smaller code while still supporting all the options. This is important when you are working on smaller Arduinos like a Gemma.
|
||||
|
||||
## [Examples](https://github.com/Makuna/NeoPixelBus/wiki/Examples)
|
||||
There are several examples that will help you get started. They range from simple to complex and are always a good reference.
|
||||
@@ -68,7 +31,7 @@ There are several color objects that can be used to define and blend colors. Wh
|
||||
This manages the timing and lifetime for animations. It supplements the NeoPixelBus object to make it easy to create smooth asynchronous animations. It also include NeoEase class that provides easing functions for animation curves.
|
||||
|
||||
## [NeoGamma object](https://github.com/Makuna/NeoPixelBus/wiki/NeoGamma-object)
|
||||
The human eye perceives light levels differently than what the NeoPixels show. NeoPixels brightness levels are very linear so this object will convert them to the nonlinear so that what you see is what you expected.
|
||||
The human eye perceives light levels differently than what the NeoPixels show. NeoPixels brightness levels are very linear so this object will convert them to a nonlinear spectrum so that what you see is what you expected.
|
||||
|
||||
## [Matrix Panels Support](https://github.com/Makuna/NeoPixelBus/wiki/Matrix-Panels-Support)
|
||||
Some of the newest forms of NeoPixels are the matrix panels, coming in 8x8, 16x8, and larger. The NeoTopology, NeoTiles, and NeoMosaic object with the help of the layout objects provide an easy (x,y) access to the pixels.
|
||||
|
Reference in New Issue
Block a user