These are chat archives for Makuna/NeoPixelBus
hi... so beginning to implement your new branch... eek... there is a lot of work there. well done. Also a lot of breaking changes.. so first question.... I'm using pointers to manage everything as i want the objects to be dynamic. previously i could use
NeoPixelBus * strip;
to declare the pointer... now i need
NeoPixelBus<NeoGrbFeature, NeoEsp8266Uart800KbpsMethod> * strip;
which is fine... the problem is that i've put everything into headers and separate cpp files.. and i declare
extern NeoPixelBus<NeoGrbFeature, NeoEsp8266Uart800KbpsMethod> * strip;
now i would like this to be 'defined' in the main sketch and have it propagated everywhere so that the user only has to change one line to change the pointer template.. does this make sense? what is the best way to do this... am i right in thinking it will have to be a #define and not typedef, as templates are preprocessor?