Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues for code #6

Open
raju615 opened this issue May 8, 2020 · 4 comments
Open

issues for code #6

raju615 opened this issue May 8, 2020 · 4 comments

Comments

@raju615
Copy link

raju615 commented May 8, 2020

hi
thanks for e131 code
sum isuues for code pl. help for code

Arduino: 1.8.12 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Users\Win7U\Downloads\E131_PixelPusher-1.2.1\E131_PixelPusher-1.2.1\Arduino\E131_PixelPusher\E131_PixelPusher.ino: In function 'void initDMA()':

E131_PixelPusher:254:49: error: no matching function for call to 'NeoEsp8266DmaMethodBase::NeoEsp8266DmaMethodBase(uint16_t&, int)'

dma = new NeoEsp8266Dma800KbpsMethod(ledCount, 3);

                                             ^

C:\Users\Win7U\Downloads\E131_PixelPusher-1.2.1\E131_PixelPusher-1.2.1\Arduino\E131_PixelPusher\E131_PixelPusher.ino:254:49: note: candidates are:

In file included from C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/NeoPixelBus.h:90:0,

             from C:\Users\Win7U\Downloads\E131_PixelPusher-1.2.1\E131_PixelPusher-1.2.1\Arduino\E131_PixelPusher\E131_PixelPusher.ino:32:

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:246:5: note: NeoEsp8266DmaMethodBase<T_SPEED>::NeoEsp8266DmaMethodBase(uint8_t, uint16_t, size_t, size_t) [with T_SPEED = NeoEsp8266DmaSpeed800Kbps; uint8_t = unsigned char; uint16_t = short unsigned int; size_t = unsigned int]

 NeoEsp8266DmaMethodBase(uint8_t pin, uint16_t pixelCount, size_t elementSize, size_t settingsSize) : 

 ^

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:246:5: note: candidate expects 4 arguments, 2 provided

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:220:5: note: NeoEsp8266DmaMethodBase<T_SPEED>::NeoEsp8266DmaMethodBase(uint16_t, size_t, size_t) [with T_SPEED = NeoEsp8266DmaSpeed800Kbps; uint16_t = short unsigned int; size_t = unsigned int]

 NeoEsp8266DmaMethodBase(uint16_t pixelCount, size_t elementSize, size_t settingsSize) :

 ^

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:220:5: note: candidate expects 3 arguments, 2 provided

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:217:34: note: constexpr NeoEsp8266DmaMethodBase::NeoEsp8266DmaMethodBase(const NeoEsp8266DmaMethodBase&)

template class NeoEsp8266DmaMethodBase

                              ^

C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:217:34: note: candidate expects 1 argument, 2 provided

C:\Users\Win7U\Downloads\E131_PixelPusher-1.2.1\E131_PixelPusher-1.2.1\Arduino\E131_PixelPusher\E131_PixelPusher.ino: In function 'void loop()':

E131_PixelPusher:502:21: error: 'NeoEsp8266Dma800KbpsMethod' has no member named 'getPixels'

     memcpy(dma->getPixels(), pixel, dma->getPixelsSize());

                 ^

E131_PixelPusher:502:46: error: 'NeoEsp8266Dma800KbpsMethod' has no member named 'getPixelsSize'

     memcpy(dma->getPixels(), pixel, dma->getPixelsSize());

                                          ^

exit status 1
no matching function for call to 'NeoEsp8266DmaMethodBase::NeoEsp8266DmaMethodBase(uint16_t&, int)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@debsahu
Copy link
Owner

debsahu commented May 8, 2020

Are you using PIO? Or Arduino IDE.

@raju615
Copy link
Author

raju615 commented May 10, 2020

hi
i am using Arduino IDE.

@debsahu
Copy link
Owner

debsahu commented May 10, 2020

You will need to downgrade NeoPixelBus to v2.5.6 and use develop version here.

@raju615
Copy link
Author

raju615 commented May 10, 2020

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants