From 49cf0eec25ba5948b8284c926c1a163b8a372673 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 26 Feb 2016 01:09:33 -0800 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index c3b2e66..b893549 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,4 +1,4 @@ -## I wish to dynamically set the number pixels, other libraries expose a method to change the number of pixels like updateLength() or setPixelCount(). +### I wish to dynamically set the number pixels, other libraries expose a method to change the number of pixels like updateLength() or setPixelCount(). The key word here is dynamic. The best practice when dealing with key feature change is to dynamical create the object and recreate it when things change. It will often lead to smaller program code size even though you may have to type more. See the following snippet of code as an example of how to do this. ``` // declare your object as dynamic, a pointer to it, the *