Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h>
- LiquidCrystal lcd(4,6,10,11,12,13);
- void setup() {
- // put your setup code here, to run once:
- lcd.begin (16,2);
- lcd.setCursor(5,0);
- lcd.print("HELLO");
- lcd.setCursor(1,1);
- lcd.print ("hi");
- }
- void loop() {
- // put your main code here, to run repeatedly:
- lcd.clear();
- for (int i = 0; i<16; i++)
- {
- lcd.setCursor(i,0);
- lcd.print ("I LOVE STEM");
- delay (200);
- lcd.clear();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement