Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Atiriya Iyer
- * 6-20-17
- * LCD
- */
- #include <LiquidCrystal.h>
- LiquidCrystal lcd (12,11, 15, 16, 17, 18);
- void setup()
- {
- Serial.begin (9600);
- lcd.begin (16,2);
- lcd.print ("My name is");
- lcd.setCursor (4,1);
- lcd.print ("Atiriya");
- lcd.setCursor (12,0);
- lcd.print ("...");
- delay(5000);
- lcd.clear();
- }
- void loop()
- {
- for (int i=0; i <= 9; i++)
- {
- lcd.setCursor (i,0);
- lcd.print ("Atiriya");
- delay (500);
- lcd.clear();
- }
- lcd.clear();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement