Open raju615 opened 4 years ago
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::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::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'
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.
Are you using PIO? Or Arduino IDE.
hi i am using Arduino IDE.
You will need to downgrade NeoPixelBus to v2.5.6 and use develop version here.
ok
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,
C:\Users\Win7U\Documents\Arduino\libraries\NeoPixelBus-master\src/internal/NeoEsp8266DmaMethod.h:246:5: note: NeoEsp8266DmaMethodBase::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]
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::NeoEsp8266DmaMethodBase(uint16_t, size_t, size_t) [with T_SPEED = NeoEsp8266DmaSpeed800Kbps; uint16_t = short unsigned int; size_t = unsigned int]
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'
E131_PixelPusher:502:46: error: 'NeoEsp8266Dma800KbpsMethod' has no member named '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.