Tak. Jest to istotne. Każda dioda jest "adresowalna".twardowskia wrote: ↑Tue 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
-
- Posts: 172
- Joined: Sun Apr 08, 2018 2:53 pm
-
- Posts: 18
- Joined: Wed Jan 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.
-
- Posts: 18
- Joined: Wed Jan 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'
-
- Posts: 1076
- Joined: Tue Jun 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
-
- Posts: 80
- Joined: Mon Apr 20, 2020 11:47 am
i am getting this same error message everytime.did you find any solutions?twardowskia wrote: ↑Fri 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.
-
- Posts: 8357
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
In your ino file please change uint8_t to uint32_t for all parameters in method definition:ritual wrote: ↑Sun Jun 06, 2021 9:36 ami am getting this same error message everytime.did you find any solutions?twardowskia wrote: ↑Fri 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.
Code: Select all
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
-
- Posts: 80
- Joined: Mon Apr 20, 2020 11:47 am
this solved the issue for me,thank you.!klew wrote: ↑Sun Jun 06, 2021 9:02 pmIn your ino file please change uint8_t to uint32_t for all parameters in method definition:ritual wrote: ↑Sun Jun 06, 2021 9:36 ami am getting this same error message everytime.did you find any solutions?twardowskia wrote: ↑Fri 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.Code: Select all
void setRGBWValueOnDevice( uint8_t red, uint8_t green, uint8_t blue, uint8_t colorBrightness, uint8_t brightness) {
-
- Posts: 80
- Joined: Mon Apr 20, 2020 11:47 am
yes ofcourse.
one of the best.
-
- Posts: 80
- Joined: Mon Apr 20, 2020 11:47 am
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