Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h>
- LiquidCrystal lcd(9, 8, 7, 6, 5, 4);
- void setup()
- {
- lcd.begin(16, 2);
- lcd.setCursor(0, 0);
- lcd.print("DIEN TU");
- }
- void loop()
- {
- delay(300);
- for (int i = 0; i < 9; i++) {
- lcd.scrollDisplayRight();
- delay(300);
- }
- for (int i = 0; i < 9; i++) {
- lcd.scrollDisplayLeft();
- delay(300);
- }
- }
Add Comment
Please, Sign In to add comment