/* #include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); //RS,E,D4,D5,D6,D7
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
lcd.setCursor(0,2);
lcd.print("Hello !");
//you can now interact with LCD
for (int i =0; i <16;i++)
{lcd.scrollDisplayRight();
delay(500);}
for (int i=0;i<16;i++)
{lcd.scrollDisplayLeft();
delay(500); }
}
void loop() {
// put your main code here, to run repeatedly:
}
*/
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); //RS,E,D4,D5,D6,D7
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
//you can now interact with LCD
for (int i =4; i>=0;i--)
{
for (int j =59;j>=0;j--)
{ lcd.setCursor(6,1);
lcd.print("0");
lcd.print(i);
lcd.print(":");
if (j<10)
{lcd.print("0");
}
lcd.print(j);
delay(50);
lcd.clear();
}
}
}
void loop(){
}