no matching function for call to 'LiquidCrystal_I2C::begin()'
- I2C LCD 16x2
You may see
Why it happens
- Your code was written for one LiquidCrystal_I2C library and a different one is installed.
How to fix it
- Our lessons use LiquidCrystal I2C by Frank de Brabander. Install that one.
- Create it with three numbers:
LiquidCrystal_I2C lcd(0x27, 16, 2);. - Start it with
lcd.init();thenlcd.backlight();. - If it still fails, remove the other LiquidCrystal_I2C folder from Documents/Arduino/libraries.
It worked if: Verify passes and the backlight comes on after uploading.
Tutorials where it can happen
- 16x2 LCD with Arduino: With and Without I2C
- Air Quality and HVAC Control with Arduino, DHT11 and MQ-135
- Air Quality Monitor with Arduino, MQ-135 and LCD
- Alcohol Sensor MQ-3 with Arduino and LCD
- Arduino Breathalyzer with MQ-3 Alcohol Sensor and LCD
- Building a Rainfall Measurement and LCD Display with Arduino
34 more
- Building a Sound-Activated Music Player with LCD Display
- Building a Vibration Sensor with LCD Feedback
- Building an Intruder Detection System with LCD and Alarm using Arduino
- Building Electronics Dice with LCD Display
- Capacitive Touch Sensor-Based Home Automation System with LCD Display
- Color Detection and Sorting System with TCS34725
- Distance Measurement and Stepper Motor Control with LCD Output
- DIY Heart Rate Monitor with Pulse Sensor and LCD Display
- Gas Sensor-Based Air Freshener System with LCD Display
- Gas Sensor-Based Garage Ventilation Control with LCD Display
- Hall Effect Sensor with Arduino: Measure Magnetic Field
- HC-SR04 Ultrasonic Sensor with Arduino Uno
- Heart Rate-Based Fitness Tracker with LCD Feedback
- How to Make a Smart Energy Meter with Arduino and LCD
- Interfacing ESP32 with 16x2 LCD Displays
- LDR Light Meter with Arduino and LCD
- Light-Sensitive Motorized Blinds with Arduino and LCD
- Mini Weather Station with Arduino, DHT11 and 16x2 LCD
- Motion-Activated Security Camera with LCD Feedback
- MQ-2 Gas Sensor Arduino Code with I2C LCD
- Object Tracking and Following System with LCD Feedback
- pH Level Monitoring and LCD Output with Arduino
- Rainwater Harvesting and Recharge: a Project for Kids
- RFID Access Control with Arduino and LCD
- Smoke Detection and Fire Sprinkler Control with LCD Display
- Soil pH Level Monitoring and LCD Output
- Sound Level Meter with Arduino and LCD
- Temperature-Controlled Fan with Arduino and LM35
- Ultrasonic Parking Sensor with LCD Display using Arduino
- Vehicle Parking Space Occupancy Detection with LCD Feedback
- Vehicle Speed Measurement and LCD Output Using Arduino
- Water Flow Measurement and Control with LCD using an Arduino
- Water Level Monitoring and Fish Tank Pump Control with Arduino
- Water Level Monitoring and Pump Control System with Arduino
Seen in a real run (some lines are close variants of it). Produced with Arduino CLI 1.5.1 and Arduino AVR core 1.8.8 (the same compiler the Arduino IDE uses). With LiquidCrystal I2C 1.1.2.
Didn't help? Search another error or ask us.

