sticilface / Adalight-ESP8266

Adalight for the Arduino ESP
25 stars 9 forks source link

invalid use of template-name 'NeoPixelBus' without an argument list #4

Open xneo1 opened 7 years ago

xneo1 commented 7 years ago

I try to compile and it throws "invalid use of template-name 'NeoPixelBus' without an argument list".

I am using NeoPixelBus_by_Makuna library. What library to use in order to compile it correctly?

EBuzznet67 commented 6 years ago

just replace

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

it with the line

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

sticilface commented 6 years ago

The new neopixelbus uses template arguements.

NeoPixelBus strip = NeoPixelBus(pixelCount, pixelPin);

with

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