bbx10/espopc

not compiling with latest neopixelbus

Closed this issue · 4 comments

your code dosen't compile with latest neopixelbus lib 2.0.2

error: invalid use of template-name 'NeoPixelBus' without an argument list
 NeoPixelBus strip = NeoPixelBus(MAX_LEDS, LED_PIN);

Are you sure you used the NeoPixelBus UartDriven branch?

I used that diretly from the arduino library mananger. After I installed this branch directly from git it worked .... (I had a minor issue with compiling. RgbColor was not found in neopixel animator, but after adding the include it worked)

thx! now I can use hyperion (ambilight) with esp over fadecandy/opc driver :-)

bbx10 commented

I will push up a version that works with version 2.0.2 of NeoPixelBus. As far as I can tell, all the features on the UartDriven branch have been merged in the master release branch. And the UartDriven branch will soon be unsupported so now is a good time to switch.

just replace it with the line

NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(16,2);

it worked ...please refer below link
https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object