mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-09 22:04:27 +02:00
Updated FAQ #11 (markdown)
@@ -2,7 +2,7 @@
|
||||
|
||||
Since the NeoPixelBus is a template class; you can't just store a reference to it using older models. But there are two ways to accomplish this.
|
||||
|
||||
My first recommendation is to make the containing class a template also. The following sketch demonstrates this all in one file. The actual template class can be in another file.
|
||||
My first recommendation is to make the containing class a template also. The following sketch demonstrates this all in one file. The actual template class can be in another file or library.
|
||||
```
|
||||
#include <NeoPixelBus.h>
|
||||
|
||||
|
Reference in New Issue
Block a user