nareszcie !!!!!Espablo wrote: Sun Nov 22, 2020 3:25 pmusuń cały SuplaDevice i wgraj z tego linka co podałem wyżejYoMan wrote: Sun Nov 22, 2020 2:46 pm Prawie wszystkie błędy dotyczą plików sequence_button.cpp, simple_button.cpp i button.h i chyba dwa błędy z io.h
menadżer płytek 2.7.4 (w poprzednich wątkach były problemy wynikające z powodu starego menadżera więc zainstalowałem na nowo ale tu chyba nie to)
czyli coś było powalone w bibliotekach
natomiast chyba urządzenie nie działa poprawnie. Zarejestrował się w cloudzie ale pusty. Tutaj powinny być przyciski, przekaźniki, etc.
Nie ma bez znaczenia jaką płytkę wybiorę (lub brak)
zaczynam przeglądać forum czy coś nie spitoliłem i nie przegapiłem a potem pliki gdzie to będzie i czemu nie ma.
EDIT i jest OK - znalazłem (prawie) wszystko. Jeszcze OTA wywala błędy ale to może zostawię sobie na przyszły weekend
Code: Select all
sketch\SuplaWebServer.cpp: In member function 'void SuplaWebServer::begin()':
SuplaWebServer.cpp:39:3: error: 'httpUpdater' was not declared in this scope
httpUpdater.setup(&httpServer, UPDATE_PATH, www_username, www_password);
^
sketch\SuplaWebServer.cpp: In member function 'void SuplaWebServer::createWebServer()':
SuplaWebServer.cpp:56:34: error: 'handleFirmwareUp' is not a member of 'SuplaWebServer'
httpServer.on(path, std::bind(&SuplaWebServer::handleFirmwareUp, this));
^
sketch\SuplaWebServer.cpp: At global scope:
SuplaWebServer.cpp:137:39: error: no 'void SuplaWebServer::handleFirmwareUp()' member function declared in class 'SuplaWebServer'
void SuplaWebServer::handleFirmwareUp() {
^
SuplaWebServer.cpp:230:46: error: no 'String SuplaWebServer::supla_webpage_upddate()' member function declared in class 'SuplaWebServer'
String SuplaWebServer::supla_webpage_upddate() {
^
exit status 1
'httpUpdater' was not declared in this scope
