How to control LCD with Arduino

 #include <LiquidCrystal.h>

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;

LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {

  // set up the LCD's number of columns and rows:

  lcd.begin(16, 2);

  // Print a message to the LCD.

  lcd.print("Subscribe");

}

void loop() {

  // set the cursor to column 0, line 1

  lcd.setCursor(0, 1);

  lcd.print("myChanel");

}



Comments

Popular posts from this blog

Wrong Category selected in SPSC How to change category in SPSC

Three-phase full-wave controlled rectifier circuit with RLC Load on PSIM || Simulation of 3-phase

Flasher Circuit by Using Arduino UNO | LED Patterns with Arduino | Chaser Circuit | 8 Patterns