ZDIRY-TUFWT-EBONM-EYJ00-IDBLANTER.COM
ZDIRY-TUFWT-EBONM-EYJ00
BLANTERWISDOM105

LCD 16x2 Arduino using SimulIDE

Thursday, May 17, 2018

Hi friends, this time I will give you how to simulate LCD using Arduino on SimulIDE Simulator. It is basic using 16x2 LCD. Ff you do not have the SimulIDE application you can download it here. Let's see.

Code:
// -----------------------------------------------
// LCD 16x2 HD44780-40
// -----------------------------------------------

#include <LiquidCrystal.h>

int D7_pin = 4;
int D6_pin = 5;
int D5_pin = 6;
int D4_pin =  7;
int EN_pin = 11;
int RS_pin = 12;

LiquidCrystal lcd(RS_pin, EN_pin, D4_pin, D5_pin, D6_pin, D7_pin);

void setup()
{
  lcd.begin(16, 2);  
}

void loop()
{
  lcd.clear();
  lcd.print("First Test");
  lcd.setCursor(0, 1);
  lcd.print("It's Works !");

  delay(3000); 
  
  lcd.clear();
  lcd.print("Yeah...");
  lcd.setCursor(0, 1);
  lcd.print("TEXT ON LCD");

  delay(3000); 
}

Video:
Share This :
Prof. Apis

Hello Greetings all. I created this website to document the knowledge that I have learned. Also to help all friends. Suggestions and criticisms are very welcome to make this website better. Thank you

0 comments