Skip to content

Instantly share code, notes, and snippets.

@alexbarbosa
alexbarbosa / arduino clock no rtc
Created April 18, 2013 21:15
simple clock without use of rtc
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
void setup() {
lcd.print("What time is it?");
delay(1000);
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("Apr, 15, 2013"); // print out the date
}