Mohamed Gamal

Arduino: 1.8.13 (Windows 8), Board: "Arduino Leonardo"

 

 

 

 

 

 

 

 

 

 

C:\Users\M Gamal\Downloads\Arduino IDE\RPM_with_GPS - Copy\RPM_with_GPS\RPM_with_GPS.ino: In function 'void setup()':

RPM_with_GPS:22:17: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)'

   lcd.begin(20,4);

                 ^

In file included from C:\Users\M Gamal\Downloads\Arduino IDE\RPM_with_GPS - Copy\RPM_with_GPS\RPM_with_GPS.ino:1:0:

C:\Users\M Gamal\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: candidate: void LiquidCrystal_I2C::begin()

  void begin();

       ^~~~~

C:\Users\M Gamal\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note:   candidate expects 0 arguments, 2 provided

C:\Users\M Gamal\Downloads\Arduino IDE\RPM_with_GPS - Copy\RPM_with_GPS\RPM_with_GPS.ino: In function 'void loop()':

RPM_with_GPS:48:19: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)'

     lcd.begin(20,4);

                   ^

In file included from C:\Users\M Gamal\Downloads\Arduino IDE\RPM_with_GPS - Copy\RPM_with_GPS\RPM_with_GPS.ino:1:0:

C:\Users\M Gamal\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: candidate: void LiquidCrystal_I2C::begin()

  void begin();

       ^~~~~

C:\Users\M Gamal\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note:   candidate expects 0 arguments, 2 provided

Multiple libraries were found for "LiquidCrystal.h"

 Used: C:\Users\M Gamal\Downloads\Arduino IDE\arduino-1.8.13\libraries\LiquidCrystal

 Not used: C:\Users\M Gamal\Documents\Arduino\libraries\LiquidCrystal-1.0.7

exit status 1

no matching function for call to 'LiquidCrystal_I2C::begin(int, int)'

 

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

 

this code show to me < when i verify my code 
what can i do ?!

this code show to me < when i verify my code 

what can i do ?!

  Joined January 25, 2021      1
Monday at 05:19 PM

There is multiple library named LiquidCrystal.h.

Remove all.

Use proper LCD header file where LiquidCrystal_I2C::begin(int, int) funtion is declared or defined.

  Joined February 12, 2018      696
Monday at 02:11 PM