ESP, IoT [BigClock] Большие часы на WS2812, ESP8266, Народный мониторинг

Какой вариант датчика используется у вас? Интересно, использует ли кто BME280, как у меня?)

  • BMP280

    Голосов: 26 26.8%
  • BME280

    Голосов: 71 73.2%

  • Всего проголосовало
    97

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
я наоборот поставил 5 и 6 а то ругалось на D5 и D6
In file included from c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:67,
from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\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"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:4:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\Constants.h:8:29: error: 'D5' was not declared in this scope
8 | #define ONE_WIRE_BUS_2 D5 // PIN датчика ds18b20
| ^~
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:29:21: note: in expansion of macro 'ONE_WIRE_BUS_2'
29 | OneWire oneWire_out(ONE_WIRE_BUS_2);
| ^~~~~~~~~~~~~~
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino: In function 'void setup()':
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\Constants.h:13:29: error: 'D6' was not declared in this scope
13 | #define LED_PIN D6 // PIN дата от ленты, подключать через резистор 470Ом
| ^~
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:28: note: in expansion of macro 'LED_PIN'
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^~~~~~~
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: no matching function for call to 'CFastLED::addLeds<WS2812B, <expression error>, GRB>(CRGB [58], int)'
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:225:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
225 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:225:130: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:239:95: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
239 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:239:95: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:253:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
253 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:253:113: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:303:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
303 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:303:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:309:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
309 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:309:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:315:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
315 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:315:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:359:25: note: candidate: 'template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
359 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:359:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:365:25: note: candidate: 'template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
365 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:365:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 1)
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:433:25: note: candidate: 'template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
433 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:433:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:474:25: note: candidate: 'template<EBlockChipsets CHIPSET, int NUM_LANES> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
474 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
| ^~~~~~~
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:474:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
70 | FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
| ^

exit status 1

Compilation error: 'D5' was not declared in this scope
 

ASM

★★★★★✩✩
26 Окт 2018
1,918
422
@kym13, ядро в шапке 2.7.4 указано, да 2 версии Иде больше 2.7.4 не разрешает ставить)
 
  • Лойс +1
Реакции: kym13

kym13

★★★✩✩✩✩
14 Ноя 2020
716
118
@ASM, Да IDE 2хх мне не понравилась, интерфейс не удобный, сама начинает платы и библиотеки обновлять, а многие проекты заточены под определенные библиотеки. Снес, поставил проверенную 1.8.19
 

kym13

★★★✩✩✩✩
14 Ноя 2020
716
118
Кстати информация для всех, датчики BME280 на алике подешевели, я себе заказал, цена 210 рублей за штуку.
 
  • Лойс +1
Реакции: maksland

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
In file included from c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:67:0,
from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/fastspi.h:145:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:4:0:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\Constants.h:8:29: error: 'D5' was not declared in this scope
#define ONE_WIRE_BUS_2 D5 // PIN датчика ds18b20
^
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:29:21: note: in expansion of macro 'ONE_WIRE_BUS_2'
OneWire oneWire_out(ONE_WIRE_BUS_2);
^
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino: In function 'void setup()':
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\Constants.h:13:29: error: 'D6' was not declared in this scope
#define LED_PIN D6 // PIN дата от ленты, подключать через резистор 470Ом
^
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:28: note: in expansion of macro 'LED_PIN'
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: no matching function for call to 'CFastLED::addLeds(CRGB [58], int)'
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: note: candidates are:
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:225:130: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:225:130: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:239:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:239:95: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:253:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:253:113: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:303:25: note: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:303:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:309:25: note: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:309:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:315:25: note: template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:315:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:359:25: note: template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:359:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:365:25: note: template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:365:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 1)
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:433:25: note: template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:433:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: template argument 2 is invalid
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^
In file included from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:0:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:474:25: note: template<EBlockChipsets CHIPSET, int NUM_LANES> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:474:25: note: template argument deduction/substitution failed:
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: error: wrong number of template arguments (3, should be 2)
FastLED.addLeds<WS2812B, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // подключение ленты
^

exit status 1

Compilation error: 'D5' was not declared in this scope
 

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
это в половине ошибок
сейчас поменять так D5 = 5 и D6 = 6 ?
сделал
теперь так
In file included from c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:67:0,
from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/fastspi.h:145:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
In file included from c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:50:0,
from C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:22:
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/fastpin.h: In instantiation of 'class FastPin<6u>':
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/platforms/esp/8266/clockless_esp8266.h:21:49: required from 'class ClocklessController<6, 20, 50, 30, (EOrder)66u, 0, false, 85>'
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/chipsets.h:578:7: required from 'class WS2812Controller800Khz<6u, (EOrder)66u>'
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:107:52: required from 'class WS2812B<6u, (EOrder)66u>'
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/FastLED.h:304:39: required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2812B; unsigned char DATA_PIN = 6u; EOrder RGB_ORDER = (EOrder)66u]'
C:\Users\maksland\Documents\NEW_CLOCK_ESP_1\NEW_CLOCK_ESP_1.ino:70:64: required from here
c:\Users\maksland\Documents\Arduino\libraries\FastLED\src/fastpin.h:210:2: error: static assertion failed: Invalid pin specified
static_assert(validpin(), "Invalid pin specified");
^

exit status 1

Compilation error: exit status 1
 

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
wemos D1 R1 выбрал и нормально скомпилировалось !
генерик esp8266 модуль стоял по умолчанию
а места то еще осталось !
можно бинарник делать и по uart заливать ? :)
наверное и на новом ядре скомпилируется... надеюсь по выводам все совпадать будет
 

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
мне больше охота на портал посмотреть
и как с телефона всем этим манипулировать :)
ASM, надо теперь попробовать интернет радио на esp32 замутить
а то такой винегрет что не знаешь что и собирать :(
 
Изменено:

Maxx1200

★✩✩✩✩✩✩
11 Фев 2022
95
19
на ядре 3.0.2 скетч wemos компилируется но при входе в вебморду получаем вот это
IMG_20221122_115217.jpg
 

ASM

★★★★★✩✩
26 Окт 2018
1,918
422
Если в качестве микроконтроллера вы используете Wemos D1 - в менеджере плат для компиляции все равно выбирайте "NodeMCU v1.0 (ESP-12E)", в противном случае, если выберете плату Wemos D1 (xxxx), - будет работать нестабильно.
 

ASM

★★★★★✩✩
26 Окт 2018
1,918
422
@maksland,попробуй сначала для node, там уже будет видно)
 

maksland

★★★✩✩✩✩
13 Янв 2019
615
144
Omsk
если кому будет интересно, платы пока в пути (ошибки вылезут после приезда и монтажа :) )
 

Вложения

  • Лойс +1
Реакции: Divin

Leon111_09

★★★✩✩✩✩
6 Июн 2021
641
149
56
Таганрог
forum.wisecomp.ru
@ASM, Я тут случайно нарвался на похожий проект часов (на такой же матрице). Думаю, в плане информации он будет вам полезен: там функционал поболее,веб-интерфейс и управление через приложение реализовано.Да, в общем, там много еще плюшек. Этот проект ТУТ .
 

kym13

★★★✩✩✩✩
14 Ноя 2020
716
118
@ASM, ...не для этого проекта .... Это понятно, но наработки там действительно хорошие. И главное всё работает. Автор выкладывает прошивки вместе с полным комплектом библиотек, настройками платы и звуковыми файлами, поэтому при компиляции нет танцев с бубнами.
 
  • Лойс +1
Реакции: Leon111_09

Leon111_09

★★★✩✩✩✩
6 Июн 2021
641
149
56
Таганрог
forum.wisecomp.ru
@ASM, Я вам его для примера скинул: зачем изобретать велосипед (или по другому изобретать уже изобретенное :). Может быть,куски той прошивки в ваш проект подойдут (те,которые ошибки сыпят).
 
  • Лойс +1
Реакции: kym13