ESP8266-wifi icon indicating copy to clipboard operation
ESP8266-wifi copied to clipboard

COMPILE ERROR with NeoPixelbus

Open ozett opened this issue 8 years ago • 2 comments

arduino 1.6.5 libraries from today: esp-core 2.0.0

the uart-branch, as your readme said:

name=NeoPixelBus by Makuna
version=1.0
author=Michael C. Miller ([email protected]) 
C:\Users\olaf\AppData\Local\Temp\build2003532610813731446.tmp\Melvana.cpp.o 
c_ws2812.ino: In function 'void ws2812()':
c_ws2812.ino:85:66: error: no matching function for call to 'NeoPixelAnimator::UpdateAnimations(int)'
c_ws2812.ino:85:66: note: candidate is:
In file included from D:\daten\olaf.arduino\arduino-1.6.5-r5\libraries\NeoPixelBus/NeoPixelBus.h:31:0,
                 from Melvana.ino:62:
D:\daten\olaf.arduino\arduino-1.6.5-r5\libraries\NeoPixelBus/NeoPixelAnimator.h:50:10: note: void NeoPixelAnimator::UpdateAnimations()
     void UpdateAnimations();
          ^
D:\daten\olaf.arduino\arduino-1.6.5-r5\libraries\NeoPixelBus/NeoPixelAnimator.h:50:10: note:   candidate expects 0 arguments, 1 provided
Exception in thread "Thread-36" java.lang.NullPointerException
    at org.fife.ui.rsyntaxtextarea.TokenMakerBase.addToken(TokenMakerBase.java:134

maybe you have some advice for me?

Examples from the NeoPixelBus-librarie compile without errors..

ozett avatar Feb 14 '16 14:02 ozett

im am no developer, but as far as i can read the readme of the neopixel repository, the function does not take an time-argument?!

void UpdateAnimations()

this method will allow the animations to be processed and update the pixel color state.
NOTE: Show must still be called to push the color state to the physical NeoPixels

https://github.com/Makuna/NeoPixelBus/search?utf8=%E2%9C%93&q=UpdateAnimations

ozett avatar Feb 14 '16 14:02 ozett

i dont know if i could delete it, but now the compile-error is gone ... must try to flash the binary....huhhhhh ;-))

ozett avatar Feb 14 '16 14:02 ozett