Tak. Jest to istotne. Każda dioda jest "adresowalna".twardowskia pisze: ↑wt mar 23, 2021 1:43 pm Czy jest istotne jaką długość taśmy się stosuje i jaka jest ilość diod/m?
Lampa ws2812B DIY
-
- Posty: 18
- Rejestracja: śr sty 22, 2020 7:15 am
Poproszę kolegów o pomoc, może jakąś wskazówkę:
- taśma 5V WS2818 60diod/m,
- kompilacja i wgranie do Wemosa bez problemów,
- kanały aktywne w cloudzie,
- na monitorze portu widzę jak wykonują się poszczególne komendy.
a na taśmie bez reakcji (żaden z kanałów nie reaguje).
Zasilanie taśmy jak i modułu sprawdzone, zasilacz 5V/40W, D1 przez rezystor 330 pałączone z DID.
- taśma 5V WS2818 60diod/m,
- kompilacja i wgranie do Wemosa bez problemów,
- kanały aktywne w cloudzie,
- na monitorze portu widzę jak wykonują się poszczególne komendy.
a na taśmie bez reakcji (żaden z kanałów nie reaguje).
Zasilanie taśmy jak i modułu sprawdzone, zasilacz 5V/40W, D1 przez rezystor 330 pałączone z DID.
-
- Posty: 18
- Rejestracja: śr sty 22, 2020 7:15 am
Próbuję uruchomić na drugim Wemosie i nieoczekiwanie pojawia mi się następujący błąd:
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino: In function 'void setup()':
WS2818S:138:92: error: cannot allocate an object of abstract type 'RgbwLeds'
r_g_b_w = new RgbwLeds(RED_PIN, GREEN_PIN, BLUE_PIN, COLOR_BRIGHTNESS_PIN, BRIGHTNESS_PIN); // kanał RGBW
^
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:67:7: note: because the following virtual functions are pure within 'RgbwLeds':
class RgbwLeds : public Supla::Control::RGBWBase {
^
In file included from C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:22:0:
C:\Users\AT\Documents\Arduino\libraries\supla-arduino-master\src/supla/control/rgbw_base.h:33:16: note: virtual void Supla::Control::RGBWBase::setRGBWValueOnDevice(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)
virtual void setRGBWValueOnDevice(uint32_t red,
^
exit status 1
cannot allocate an object of abstract type 'RgbwLeds'
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino: In function 'void setup()':
WS2818S:138:92: error: cannot allocate an object of abstract type 'RgbwLeds'
r_g_b_w = new RgbwLeds(RED_PIN, GREEN_PIN, BLUE_PIN, COLOR_BRIGHTNESS_PIN, BRIGHTNESS_PIN); // kanał RGBW
^
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:67:7: note: because the following virtual functions are pure within 'RgbwLeds':
class RgbwLeds : public Supla::Control::RGBWBase {
^
In file included from C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:22:0:
C:\Users\AT\Documents\Arduino\libraries\supla-arduino-master\src/supla/control/rgbw_base.h:33:16: note: virtual void Supla::Control::RGBWBase::setRGBWValueOnDevice(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)
virtual void setRGBWValueOnDevice(uint32_t red,
^
exit status 1
cannot allocate an object of abstract type 'RgbwLeds'
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
Zerknijcie na to https://github.com/Aircoookie/WLED
Mnogość efektów i konfiguracji. Integruje się z HA i współpracuje z Hyperion jako ambilight.
Mnogość efektów i konfiguracji. Integruje się z HA i współpracuje z Hyperion jako ambilight.
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
i am getting this same error message everytime.did you find any solutions?twardowskia pisze: ↑pt mar 26, 2021 4:46 pm Próbuję uruchomić na drugim Wemosie i nieoczekiwanie pojawia mi się następujący błąd:
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino: In function 'void setup()':
WS2818S:138:92: error: cannot allocate an object of abstract type 'RgbwLeds'
r_g_b_w = new RgbwLeds(RED_PIN, GREEN_PIN, BLUE_PIN, COLOR_BRIGHTNESS_PIN, BRIGHTNESS_PIN); // kanał RGBW
^
C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:67:7: note: because the following virtual functions are pure within 'RgbwLeds':
class RgbwLeds : public Supla::Control::RGBWBase {
^
In file included from C:\Users\AT\Desktop\SUPLA\wsady\WS2818S\WS2818S.ino:22:0:
C:\Users\AT\Documents\Arduino\libraries\supla-arduino-master\src/supla/control/rgbw_base.h:33:16: note: virtual void Supla::Control::RGBWBase::setRGBWValueOnDevice(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)
virtual void setRGBWValueOnDevice(uint32_t red,
^
exit status 1
cannot allocate an object of abstract type 'RgbwLeds'
i tried using klew's library aswell,but with no success.
In your ino file please change uint8_t to uint32_t for all parameters in method definition:ritual pisze: ↑ndz cze 06, 2021 9:36 ami am getting this same error message everytime.did you find any solutions?twardowskia pisze: ↑pt mar 26, 2021 4:46 pm Próbuję uruchomić na drugim Wemosie i nieoczekiwanie pojawia mi się następujący błąd:
i tried using klew's library aswell,but with no success.
Kod: Zaznacz cały
void setRGBWValueOnDevice( uint8_t red,
uint8_t green,
uint8_t blue,
uint8_t colorBrightness,
uint8_t brightness) {
Widzimy się na Supla Offline Party vol. 2
this solved the issue for me,thank you.!klew pisze: ↑ndz cze 06, 2021 9:02 pmIn your ino file please change uint8_t to uint32_t for all parameters in method definition:ritual pisze: ↑ndz cze 06, 2021 9:36 ami am getting this same error message everytime.did you find any solutions?twardowskia pisze: ↑pt mar 26, 2021 4:46 pm Próbuję uruchomić na drugim Wemosie i nieoczekiwanie pojawia mi się następujący błąd:
i tried using klew's library aswell,but with no success.This should fix the problem.Kod: Zaznacz cały
void setRGBWValueOnDevice( uint8_t red, uint8_t green, uint8_t blue, uint8_t colorBrightness, uint8_t brightness) {
yes ofcourse.
one of the best.
i have a new error,maybe there are new changes in file name?
E:\SMART HOME\arduino-1.8.13\libraries\supla\MySqlshell.cpp:20:10: fatal error: gtest/gtest.h: No such file or directory
Multiple libraries were found for "WiFiClient.h"
20 | #include <gtest/gtest.h> // NOLINT
E:\SMART HOME\arduino-1.8.13\libraries\supla\MySqlshell.cpp:20:10: fatal error: gtest/gtest.h: No such file or directory
Multiple libraries were found for "WiFiClient.h"
20 | #include <gtest/gtest.h> // NOLINT