Kod: Zaznacz cały
Arduino:1.8.13 (Windows 10), Płytka:"Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, Basic SSL ciphers (lower ROM use), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, All Flash Contents, 115200"
sketch\SuplaConfigESP.cpp: In member function 'int SuplaConfigESP::getGpio(int, int)':
SuplaConfigESP.cpp:348:15: error: 'getAdressMCP23017' was not declared in this scope
348 | switch (getAdressMCP23017(nr, function)) {
| ^~~~~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp: At global scope:
SuplaConfigESP.cpp:533:6: error: no declaration matches 'bool SuplaConfigESP::checkBusyGpioMCP23017(uint8_t, uint8_t, uint8_t)'
533 | bool SuplaConfigESP::checkBusyGpioMCP23017(uint8_t gpio, uint8_t nr, uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:533:6: note: no functions named 'bool SuplaConfigESP::checkBusyGpioMCP23017(uint8_t, uint8_t, uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:560:9: error: no declaration matches 'uint8_t SuplaConfigESP::getGpioMCP23017(uint8_t, uint8_t)'
560 | uint8_t SuplaConfigESP::getGpioMCP23017(uint8_t nr, uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:560:9: note: no functions named 'uint8_t SuplaConfigESP::getGpioMCP23017(uint8_t, uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:575:9: error: no declaration matches 'uint8_t SuplaConfigESP::getAdressMCP23017(uint8_t, uint8_t)'
575 | uint8_t SuplaConfigESP::getAdressMCP23017(uint8_t nr, uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:575:9: note: no functions named 'uint8_t SuplaConfigESP::getAdressMCP23017(uint8_t, uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:598:6: error: no declaration matches 'void SuplaConfigESP::setGpioMCP23017(uint8_t, uint8_t, uint8_t, uint8_t)'
598 | void SuplaConfigESP::setGpioMCP23017(uint8_t gpio, uint8_t adress, uint8_t nr, uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:598:6: note: no functions named 'void SuplaConfigESP::setGpioMCP23017(uint8_t, uint8_t, uint8_t, uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:614:6: error: no declaration matches 'void SuplaConfigESP::clearGpioMCP23017(uint8_t, uint8_t, uint8_t)'
614 | void SuplaConfigESP::clearGpioMCP23017(uint8_t gpio, uint8_t nr, uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:614:6: note: no functions named 'void SuplaConfigESP::clearGpioMCP23017(uint8_t, uint8_t, uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:635:6: error: no declaration matches 'void SuplaConfigESP::clearFunctionGpio(uint8_t)'
635 | void SuplaConfigESP::clearFunctionGpio(uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:635:6: note: no functions named 'void SuplaConfigESP::clearFunctionGpio(uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:646:6: error: no declaration matches 'bool SuplaConfigESP::checkActiveMCP23017(uint8_t)'
646 | bool SuplaConfigESP::checkActiveMCP23017(uint8_t function) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:646:6: note: no functions named 'bool SuplaConfigESP::checkActiveMCP23017(uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:651:9: error: no declaration matches 'uint8_t SuplaConfigESP::getFunctionMCP23017(uint8_t)'
651 | uint8_t SuplaConfigESP::getFunctionMCP23017(uint8_t adress) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:651:9: note: no functions named 'uint8_t SuplaConfigESP::getFunctionMCP23017(uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
SuplaConfigESP.cpp:669:9: error: no declaration matches 'uint8_t SuplaConfigESP::getNrMCP23017(uint8_t)'
669 | uint8_t SuplaConfigESP::getNrMCP23017(uint8_t adress) {
| ^~~~~~~~~~~~~~
sketch\SuplaConfigESP.cpp:669:9: note: no functions named 'uint8_t SuplaConfigESP::getNrMCP23017(uint8_t)'
In file included from sketch\SuplaConfigESP.cpp:19:
sketch\SuplaConfigESP.h:49:7: note: 'class SuplaConfigESP' defined here
49 | class SuplaConfigESP : public Supla::ActionHandler, public Supla::Element {
| ^~~~~~~~~~~~~~
exit status 1
'getAdressMCP23017' was not declared in this scope
Ten raport powinien zawierać więcej informacji jeśli w
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"