- المكونات الاساسية :
- ESP8266 NODEMCU


- I2C LCD
- Jumper Wires
- مخطط الرسم البياني :
- كود أردوينو :
// How To Interface LCD Display To NodeMCU Esp8266 using I2C Module
// By : DIY Channel
// My YouTube Channel : https://www.youtube.com/c/DIYChannel2019
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
// initialize the LCD
lcd.begin();
// Turn on the blacklight and print a message.
lcd.backlight();
lcd.print(" By : DIY Channel");
}
void loop()
{
// Do nothing here...
}
No comments:
Post a Comment