Advertisement
Guest User

Untitled

a guest
May 28th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <TinyWireM.h>
  2. #include <TinyLiquidCrystal.h>
  3. TinyLiquidCrystal lcd(0);
  4.  
  5. void setup() {
  6. lcd.begin(16, 2);
  7. lcd.setBacklight(HIGH);
  8. lcd.print("hello, world!");
  9. }
  10.  
  11. void loop() {
  12. lcd.setCursor(0, 1);
  13. lcd.print(millis()/1000);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement