Creating a first code to Download on” NODE MCU ESP 8266” board

Updated: Feb 27, 2020

Create code for display "HEllo Friends/Congratulation" on 16x2 LCD display

  1. Got to files-->New

New window will appear

save program as “16x2 lcd hello world

Source code as follows:-


#include <ESP8266WiFi.h>

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x3F, 16, 2);

void setup()

{

lcd.begin();

lcd.backlight();

lcd.setCursor(0, 0);

delay(10);

lcd.print("HEllo friends");

delay(1000);

}

void loop()

{

lcd.clear();

cd.setCursor(0, 0);

lcd.print("Congratulations");

delay(1000);

}


  • Circuit Diagram





14 views0 comments

Recent Posts

See All