Good morning
On February 9th, I uploaded a program to the Arduino Uno R4 Wifi board using the LiquidCrystal_I2C-1.1.2 library on the Arduino Cloud, and everything went normally. Yesterday, I tried to repeat the operation, and when compiling, I get an error with the LiquidCrystal_I2C library. Can anyone help me? Thank you.
Post the complete sketch.
Yes, you can!
Please post the error message you got as we cannot see what messages are on your computer
Thank you.
It works correctly with Arduino IDE 2.3.7... but the following error appears in Arduino Cloud.
/run/arduino/sketches/Caldeira_nov15a/Caldeira_nov15a.ino:15:32: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int)'
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display
^
In file included from /run/arduino/sketches/Caldeira_nov15a/Caldeira_nov15a.ino:13:0:
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:51:5: note: candidate: LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t)
LiquidCrystal_I2C(uint8_t cols, uint8_t rows);
^~~~~~~~~~~~~~~~~
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:51:5: note: candidate expects 2 arguments, 3 provided
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:49:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(const LiquidCrystal_I2C&)
class LiquidCrystal_I2C : public Print {
^~~~~~~~~~~~~~~~~
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:49:7: note: candidate expects 1 argument, 3 provided
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:49:7: note: candidate: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(LiquidCrystal_I2C&&)
/var/run/arduino/directories-user/libraries/IskakINO_LiquidCrystal_I2C/src/LiquidCrystal_I2C.h:49:7: note: candidate expects 1 argument, 3 provided
/run/arduino/sketches/Caldeira_nov15a/Caldeira_nov15a.ino: In function 'void setup()':
/run/arduino/sketches/Caldeira_nov15a/Caldeira_nov15a.ino:19:7: error: 'class LiquidCrystal_I2C' has no member named 'init'
lcd.init(); //initialize the lcd
^~~~
Multiple libraries were found for "LiquidCrystal_I2C.h"
Used: /run/arduino/directories-data/internal/IskakINO_LiquidCrystal_I2C_1.0.0_7e9b29bdd96fae42
Not used: /run/arduino/directories-data/internal/LiquidCrystal_I2C_2.0.0_5b47e66a35aa9468
Multiple libraries were found for "Wire.h"
Used: /run/arduino/directories-data/packages/arduino/hardware/renesas_uno/1.5.1/libraries/Wire
Not used: /run/arduino/directories-data/internal/FlexWire_1.2.1_1fc5f1d1a14af0e7
Thank you, I've already solved the problem.
Please explain the solution, might be useful for future reference for other users.
hi.. can u share how to solve this problem? i have same problem.. code just fine last 2 week and last night i try upload = having same error like u..
thanks
Hi @awegmail. I'm going to ask you to provide the full verbose output from an upload.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Open your sketch in Arduino Cloud Editor.
- Click the "Settings" icon at the bottom left corner of the page:
The "Settings" panel will open.
- Select the "Verbose output" radio button under the "Console verbosity" section of the "Settings" panel.
- Click the ➜ button in the Cloud Editor toolbar, just as you did before when you encountered the error.
- Wait for the upload to fail.
- If the black "Console" panel at the bottom of the Cloud Editor page is minimized, click the ˄ icon at the right side of the "Console" toolbar to expand it.
- Click the icon in the top right corner of the black "Console" panel at the bottom of the Cloud Editor page that looks like two pieces of paper ("Copy Console Output"):
- Open a reply here on this forum topic by clicking the "Reply" button.
- Click the
<CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block.
- Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to publish the post.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here.
Click here for attachment instructions
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txt format.
- Open a reply here on this forum topic by clicking the "Reply" button.
- Click the "Upload" icon (
) on the post composer toolbar:
The "Open" dialog will open.
- Select the
.txt file you saved from the "Open" dialog.
- Click the "Open" button.
The dialog will close.
- Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
HI.. thanks for reply.
after i follow that step ( setting - Verbose output). my code able to verify = OK,
but not try upload to ESP32 yet..
Great news!
If you give it a try and encounter some problem, just let us know and we'll provide assistance.