20x4 LCD Display Module with Blue Backlight

  • Model: OP111

 Ask a Question 

£7.00

Add to Cart:
Blue LED backlight. Alphanumeric dot matrix. 80 characters over 4 lines. Display area 76x26mm. Display bezel 98x40mm. 5V supply voltage. Arduino compatible. 99x60mm overall dimensions.
Can be used with the I2C lcd interface.

/* Example sketch using the
 20 character 4 line display with I2C display module
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

// SDA goes to A4 on the Uno and SCL to A5
LiquidCrystal_I2C lcd(0x27,20,4);

void setup() 
{
  lcd.init();       // initialize the lcd
  

// ------- 3 blinks of backlight  -------------
  for(int i = 0; i< 3; i++)
  {
    lcd.backlight();
    delay(250);
    lcd.noBacklight();
    delay(250);
  }
  lcd.backlight(); // finish with backlight on  
  
}/*--(end setup )---*/


void loop()   /*----( LOOP: RUNS CONSTANTLY )----*/
{

  //-------- Write characters on the display ----------------
// NOTE: Cursor Position: CHAR, LINE) start at 0  
  lcd.setCursor(3,0); //Start at character 4 on line 0
  lcd.print("Hello, world!");
  delay(1000);
  lcd.setCursor(2,1);
  lcd.print("This is the new");
  delay(1000);  
  lcd.setCursor(0,2);
  lcd.print("20 by 4 Line Display");
  lcd.setCursor(3,3);
  delay(2000);   
  lcd.print("from Bitsbox");
  delay(8000); // 8 sec delay before repeating.
  
lcd.clear();
 delay(1000);

}
Your IP Address is: 3.236.112.101
Copyright © 2024 Bitsbox. Powered by Zen Cart