доброго времени суток,решил сделать парные лампы на есп 8266 WebLamp – парные Интернет-лампы | AlexGyver
ссылка на страницу проекта не компилируется код
Arduino: 1.8.19 (Windows 7), Плата:“WeMos D1 R1, 80 MHz, Flash, Disabled, 4M (2M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600”
In file included from C:\Users\Kuzkokov\Documents\Arduino\libraries\FastLED-master\src/FastLED.h:67:0,
from C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:44:
C:\Users\Kuzkokov\Documents\Arduino\libraries\FastLED-master\src/fastspi.h:150: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”
^
sketch_may28a:86:29: error: no matching function for call to ‘Timer::Timer(int, bool)’
Timer onlineTmr(18000, false); // 18 секунд таймаут онлайна
^
C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:86:29: note: candidates are:
In file included from C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:47:0:
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:59:2: note: Timer::Timer(resolution_t)
Timer(resolution_t resolution = MILLIS);
^
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:59:2: note: candidate expects 1 argument, 2 provided
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:47:7: note: constexpr Timer::Timer(const Timer&)
class Timer {
^
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:47:7: note: candidate expects 1 argument, 2 provided
sketch_may28a:87:26: error: no matching function for call to ‘Timer::Timer(int, bool)’
Timer pirTmr(60000, false); // 1 минута таймаут пира
^
C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:87:26: note: candidates are:
In file included from C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:47:0:
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:59:2: note: Timer::Timer(resolution_t)
Timer(resolution_t resolution = MILLIS);
^
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:59:2: note: candidate expects 1 argument, 2 provided
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:47:7: note: constexpr Timer::Timer(const Timer&)
class Timer {
^
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:47:7: note: candidate expects 1 argument, 2 provided
sketch_may28a:88:17: error: invalid conversion from ‘int’ to ‘resolution_t’ [-fpermissive]
Timer hbTmr(8000); // 8 секунд период отправки пакета
^
In file included from C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino:47:0:
C:\Users\Kuzkokov\Documents\Arduino\libraries\Timer-1.2.1/Timer.h:59:2: error: initializing argument 1 of ‘Timer::Timer(resolution_t)’ [-fpermissive]
Timer(resolution_t resolution = MILLIS);
^
C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino: In function ‘void setup()’:
sketch_may28a:91:11: error: ‘startup’ was not declared in this scope
startup(); // запускаем всё
^
C:\Users\Kuzkokov\AppData\Local\Temp\arduino_modified_sketch_994429\sketch_may28a.ino: In function ‘void loop()’:
sketch_may28a:97:13: error: ‘heartbeat’ was not declared in this scope
heartbeat(); // отправляем пакет что мы онлайн
^
sketch_may28a:99:13: error: ‘animation’ was not declared in this scope
animation(); // эффект ленты
^
sketch_may28a:100:14: error: ‘buttonTick’ was not declared in this scope
buttonTick(); // действия кнопки
^
sketch_may28a:101:12: error: ‘mqttTick’ was not declared in this scope
mqttTick(); // проверяем входящие
^
sketch_may28a:103:15: error: ‘checkPortal’ was not declared in this scope
checkPortal(); // проверяем действия
^
Несколько библиотек найдено для “WiFiUdp.h”
Используется: C:\Users\Kuzkokov\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi
Не используется: D:\SteamLibrary\Arduino\libraries\WiFi
exit status 1
no matching function for call to ‘Timer::Timer(int, bool)’
Этот отчёт будет иметь больше информации с
включенной опцией Файл → Настройки →
“Показать подробный вывод во время компиляции”