Super Kid
Published © GPL3+

Break Your Heart - Control the LCD

Using your Arduino to control the LCD.

IntermediateShowcase (no instructions)6 minutes807
Break Your Heart - Control the LCD

Things used in this project

Story

Read more

Schematics

Wiring Diagram

Code

LiquidCrystal app

Arduino
#include <LiquidCrystal.h>
 
//Khởi tạo với các chân
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
 
void setup() {
  //Thông báo đây là LCD 1602
  lcd.begin(16, 2);
  //In ra màn hình lcd dòng chữ Toi yeu Arduino
  lcd.print("Toi yeu Arduino!");
}
 
void loop() {
  // đặt con trỏ vào cột 0, dòng 1
  // Lưu ý: dòng 1 là dòng thứ 2, lòng 0 là dòng thứ 1. Nôm na, nó đếm từ 0 từ không phải từ 1
  lcd.setCursor(0, 1);
  // In ra dong chu
  lcd.print("   Arduino.VN");
}

Credits

Super Kid

Super Kid

1 project • 26 followers
I am building the project with IoT with Windows (Windows On Devices). Also I have a tag: Break your heart for the beginner.

Comments