From 0061a3dd99f266ca37482a5ba4f80511f473aeca Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 25 Feb 2016 23:25:24 -0800 Subject: [PATCH] Updated Home (markdown) --- Home.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Home.md b/Home.md index 8f2ca3b..08b8e13 100644 --- a/Home.md +++ b/Home.md @@ -13,6 +13,21 @@ This is an Arduino Library that supports sending out data to update a series of * SK6812rgb and SK6812rgbw * 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. +``` +Sketch uses 3,498 bytes (65%) of program storage space. Maximum is 5,310 bytes. +Global variables use 39 bytes of dynamic memory. +``` +This is the sketch output from NeoPixelBus library on the same StrandTest example for the same Gemma platform. +``` +Sketch uses 2,966 bytes (55%) of program storage space. Maximum is 5,310 bytes. +Global variables use 34 bytes of dynamic memory. +``` +532 more bytes of code are available, and another 5 bytes of ram. + ## [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.