CIRCUIT:-
CODE:-
//I2C LIQUID CRYSTAL LIBRARY:- https://github.com/johnrickman/LiquidCrystal_I2C
//SCL => PB6
//SDA => PB7
//5V => 5V
//GND => GND
#include <Wire.h> // Library for I2C communication
#include <LiquidCrystal_I2C.h> // Library for LCD
LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x3F, 16, 2); // Change to (0x27,16,2) for 16x2 LCD.my address is (0x3F)
void setup(){
lcd.begin();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print(" WELCOME TO");
lcd.setCursor(0,1);
lcd.print(" MKINVENTIONS");
delay(2000);
}
void loop() {
}
0 Comments
Please do not Enter any Spam Link in the Comment Box
Emoji