-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error compiling code: Adruino IDE 2.3.4. #377
Comments
I use the code like this:
No more code is needed to get the idea. |
Further code analysis: Errors in ModbusRTU.cpp Line: 183 Errors in Modbus.cpp Line: 318
//**************************************** Warning about unused parameter fc and data Line: 905
|
Error compiling code: Adruino IDE 2.3.4. library version: ArduinoModbus 1.0.9. Run on NodeMCU. Relevant libraries in the project:
I handle the administration via wifi myself, I only use the services of the basic library: #include <ESP8266WiFi.h> the first error is directly in the library code: #include <ModbusIP_ESP8266.h> specifically in the file: ModbusTCP.h where it is necessary to update the method on line 17, otherwise the compiler reports an obsolete method
the second code compilation error reports:
there, in the appropriate functions, it would be enough to add something like this under the function: (void)_params; // Suppress the warning about an unused parameter.
The text was updated successfully, but these errors were encountered: