You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
got the following compile error in vscode. Using mega-20211224
`Compiling .pio/build/custom_ESP8266_4M1M/src/src/DataStructs/LogStruct.cpp.o
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'boolean Plugin_123(byte, EventStruct*, String&)':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:88:37: error: 'SENSOR_TYPE_QUAD' was not declared in this scope
Device[deviceCount].VType = SENSOR_TYPE_QUAD;
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:199:26: error: 'WebServer' was not declared in this scope
String plugin1 = WebServer.arg("plugin_123_RedPin");
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:421:21: warning: unused variable 'Plugin_123_tempOff' [-Wunused-variable]
boolean Plugin_123_tempOff = true;
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:451:44: error: cannot convert 'EventValueSource::Enum' to 'byte {aka unsigned char}' for argument '1' to 'void Plugin_123_SendStatus(byte)'
Plugin_123_SendStatus(event->Source);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'void Plugin_123_setPins_Finish()':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:648:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[0].PinNo, PIN_MODE_PWM, Plugin_123_pins[0].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:653:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[3].PinNo, PIN_MODE_PWM, Plugin_123_pins[3].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:656:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[4].PinNo, PIN_MODE_PWM, Plugin_123_pins[4].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'void Plugin_123_SendStatus(byte)':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:842:31: error: cannot convert 'byte {aka unsigned char}' to 'EventValueSource::Enum' for argument '1' to 'void SendStatus(EventValueSource::Enum, const String&)'
SendStatus(eventSource, json); // send http response to controller (JSON fmormat)
^
*** [.pio/build/custom_ESP8266_4M1M/src/ESPEasy.ino.cpp.o] Error 1
====================================================== [FAILED] Took 15.44 seconds ======================================================
Environment Status Duration
custom_ESP8266_4M1M FAILED 00:00:15.440
================================================= 1 failed, 0 succeeded in 00:00:15.440 =================================================
Der Terminalprozess "platformio 'run', '--environment', 'custom_ESP8266_4M1M'" wurde mit folgendem Exitcode beendet: 1.`
The text was updated successfully, but these errors were encountered:
A fix would be nice
got the following compile error in vscode. Using mega-20211224
`Compiling .pio/build/custom_ESP8266_4M1M/src/src/DataStructs/LogStruct.cpp.o
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'boolean Plugin_123(byte, EventStruct*, String&)':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:88:37: error: 'SENSOR_TYPE_QUAD' was not declared in this scope
Device[deviceCount].VType = SENSOR_TYPE_QUAD;
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:199:26: error: 'WebServer' was not declared in this scope
String plugin1 = WebServer.arg("plugin_123_RedPin");
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:421:21: warning: unused variable 'Plugin_123_tempOff' [-Wunused-variable]
boolean Plugin_123_tempOff = true;
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:451:44: error: cannot convert 'EventValueSource::Enum' to 'byte {aka unsigned char}' for argument '1' to 'void Plugin_123_SendStatus(byte)'
Plugin_123_SendStatus(event->Source);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'void Plugin_123_setPins_Finish()':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:648:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[0].PinNo, PIN_MODE_PWM, Plugin_123_pins[0].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:653:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[3].PinNo, PIN_MODE_PWM, Plugin_123_pins[3].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:656:108: error: 'setPinState' was not declared in this scope
setPinState(PLUGIN_ID_123, Plugin_123_pins[4].PinNo, PIN_MODE_PWM, Plugin_123_pins[4].FadingTargetLevel);
^
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino: In function 'void Plugin_123_SendStatus(byte)':
/media/share/GitHub/Forked/ESPEasy/src/_P123_LIGHTS.ino:842:31: error: cannot convert 'byte {aka unsigned char}' to 'EventValueSource::Enum' for argument '1' to 'void SendStatus(EventValueSource::Enum, const String&)'
SendStatus(eventSource, json); // send http response to controller (JSON fmormat)
^
*** [.pio/build/custom_ESP8266_4M1M/src/ESPEasy.ino.cpp.o] Error 1
====================================================== [FAILED] Took 15.44 seconds ======================================================
Environment Status Duration
custom_ESP8266_4M1M FAILED 00:00:15.440
================================================= 1 failed, 0 succeeded in 00:00:15.440 =================================================
Der Terminalprozess "platformio 'run', '--environment', 'custom_ESP8266_4M1M'" wurde mit folgendem Exitcode beendet: 1.`
The text was updated successfully, but these errors were encountered: