mrprezident14 wrote: Sat Dec 31, 2022 4:37 pm
No powiem dramat tego nie moge przejść.
In file included from c:\Users\User\OneDrive\Dokumenty\Arduino\libraries\FastLED\src/FastLED.h:67,
from C:\Users\User\Desktop\ledy\ledy.ino:28:
c:\Users\User\OneDrive\Dokumenty\Arduino\libraries\FastLED\src/fastspi.h:145:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'
145 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Desktop\ledy\ledy.ino: In function 'void setup()':
C:\Users\User\Desktop\ledy\ledy.ino:138:92: error: invalid new-expression of abstract class type 'RgbwLeds'
138 | r_g_b_w = new RgbwLeds(RED_PIN, GREEN_PIN, BLUE_PIN, COLOR_BRIGHTNESS_PIN, BRIGHTNESS_PIN); // kanał RGBW
| ^
C:\Users\User\Desktop\ledy\ledy.ino:67:7: note: because the following virtual functions are pure within 'RgbwLeds':
67 | class RgbwLeds : public Supla::Control::RGBWBase {
| ^~~~~~~~
In file included from C:\Users\User\Desktop\ledy\ledy.ino:22:
c:\Users\User\OneDrive\Dokumenty\Arduino\libraries\SuplaDevice\src/supla/control/rgbw_base.h:34:16: note: 'virtual void Supla::Control::RGBWBase::setRGBWValueOnDevice(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)'
34 | virtual void setRGBWValueOnDevice(uint32_t red,
| ^~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: invalid new-expression of abstract class type 'RgbwLeds'