mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-10 22:34:25 +02:00
Updated FAQ #11 (markdown)
@@ -10,7 +10,7 @@ typedef NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> NeoPixelBusType;
|
|||||||
|
|
||||||
NeoPixelBusType strip(4, 2);
|
NeoPixelBusType strip(4, 2);
|
||||||
|
|
||||||
// example template class using a reference; requires all code to be in the include
|
// example template class using a reference
|
||||||
template<typename T_PIXEL_METHOD> class PixelRef {
|
template<typename T_PIXEL_METHOD> class PixelRef {
|
||||||
public:
|
public:
|
||||||
PixelRef(T_PIXEL_METHOD& pixelStrip) :
|
PixelRef(T_PIXEL_METHOD& pixelStrip) :
|
||||||
|
Reference in New Issue
Block a user