Advertisement
SageScroll18144

lcd

Jul 26th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <LiquidCrystal.h>
  2.  
  3. LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
  4.  
  5. void setup() {
  6.  
  7.   lcd.begin(16, 2);
  8.  
  9.   lcd.print("hello, world!");
  10. }
  11.  
  12. void loop() {
  13.   lcd.setCursor(0, 1);
  14.   lcd.print(millis() / 1000);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement