I’ve been trying to use an LCD screen with the DFRobot Rover v2 but have been unsuccessful so far. My program works perfectly when sending the code to the Arduino Mega 2560 that comes with the DFRobot Education Kit but that same code does not work when I plug the LCD screen into the DFRobot Rover v2 Uno board. Any tips or suggestions?
[code]#include <Wire.h> // Comes with Arduino IDE
#include <LiquidCrystal_I2C.h> // include LiquidCrystal_I2C library.
LiquidCrystal_I2C lcd(0x20,16, 2); // Set the LCD I2C address
void setup()
{
lcd.init();
lcd.begin(16,2); // Initialize LCD 2x16 lcd.clear(); //clear the screen
lcd.backlight(); // turn on back light
}
void loop()
{
lcd.setCursor(0,0); //set cursor to upper left corner
lcd.print(“Hello!!!”); // Display “Hello!!!”
}[/code]