#include "Wire.h" // For I2C #include "LCD.h" // For LCD #include "LiquidCrystal_I2C.h" // Added library* //Set the pins on the I2C chip used for LCD connections //ADDR,EN,R/W,RS,D4,D5,D6,D7 LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7); // 0x3F is the default I2C bus address of the backpack ...you must scan yours void setup() { // Set off LCD module lcd.begin (16,2); // 16 x 2 LCD module lcd.setBacklightPin(3,POSITIVE); // BL, BL_POL lcd.setBacklight(HIGH); } void loop() { lcd.clear(); lcd.home (); // Set lcd.home (); // Set cursor to 2,0 lcd.setCursor (2,0); // Go to home of 2nd line lcd.print("IC2_COM "); // Custom text lcd.home (); // Set lcd.home (); // Set cursor to 0,0 lcd.setCursor (4,1); // Go to home of 2nd line lcd.print("4 Wires"); // Custom text delay(1000); lcd.clear(); lcd.setCursor (0,0); // Go to home of 1st line lcd.print("Robot B9-Moebius"); // Custom text lcd.home (); // Set cursor to 0,0 lcd.setCursor (0,1); // Go to home of 1st line lcd.print("Cesar Dvalley s"); delay(2500); lcd.setBacklight(LOW); // Backlight off delay(200); lcd.setBacklight(HIGH); // Backlight on delay(200); delay(1000); lcd.clear(); lcd.home (); // Set lcd.home (); // Set cursor to 0,0 lcd.setCursor (1,0); // Go to home of 1st line lcd.print("...Project..."); // Custom text lcd.home (); // Set lcd.home (); lcd.setCursor (2,1); // Go to home of 2nd line lcd.print("Robot_B9"); // Custom text delay(1500); lcd.clear(); lcd.home (); // Set lcd.home (); // Set cursor to 0,0 lcd.setCursor (1,0); // Go to home of 1st line lcd.print(".Irwin Allen & Dick Tuefeld."); // Custom text lcd.home (); // Set lcd.home (); // Set cursor to 0,0 lcd.setCursor (2,1); // Go to home of 2nd line lcd.print("...TRIBUTE ..."); delay(1500); delay(1000); // Blinks of backlight lcd.setBacklight(LOW); // Backlight off delay(300); lcd.setBacklight(HIGH); // Backlight on delay(200); delay(1500); // scroll 13 positions (string length) to the left // to move it offscreen left: for (int positionCounter = 0; positionCounter < 13; positionCounter++) { // scroll one position left: lcd.scrollDisplayLeft(); // wait a bit: delay(350); } // scroll 29 positions (string length + display length) to the right // to move it offscreen right: for (int positionCounter = 0; positionCounter < 29; positionCounter++) { // scroll one position right: lcd.scrollDisplayRight(); // wait a bit: delay(350); } // scroll 16 positions (display length + string length) to the left // to move it back to center: for (int positionCounter = 0; positionCounter < 16; positionCounter++) { // scroll one position left: lcd.scrollDisplayLeft(); // wait a bit: delay(150); } // delay at the end of the full loop: delay(1000); }