<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_LCD_very_Simple_Clock</id>
	<title>Arduino: LCD very Simple Clock - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_LCD_very_Simple_Clock"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_LCD_very_Simple_Clock&amp;action=history"/>
	<updated>2026-04-20T15:27:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_LCD_very_Simple_Clock&amp;diff=49908&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot; /*   Digital Winding Clock - Arduino Clock for beginners     No RTC,   Just set it to exact time using the push buttons each time you switch on the clock   Made by Techno (s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_LCD_very_Simple_Clock&amp;diff=49908&amp;oldid=prev"/>
		<updated>2017-12-31T12:47:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; /*   Digital Winding Clock - Arduino Clock for beginners     No RTC,   Just set it to exact time using the push buttons each time you switch on the clock   Made by Techno (s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; /* &lt;br /&gt;
 Digital Winding Clock - Arduino Clock for beginners   &lt;br /&gt;
 No RTC, &lt;br /&gt;
 Just set it to exact time using the push buttons each time you switch on the clock &lt;br /&gt;
 Made by Techno (sǝɹoɟ ǝǝןuuɐ) &lt;br /&gt;
 Feel free to modify &lt;br /&gt;
 */ &lt;br /&gt;
 #include &amp;lt;LiquidCrystal.h&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 LiquidCrystal  lcd(12,11,5,4,3,2); &lt;br /&gt;
 int h=12; &lt;br /&gt;
 int m; &lt;br /&gt;
 int s; &lt;br /&gt;
 int flag; &lt;br /&gt;
 int TIME; &lt;br /&gt;
 const int hs=8; &lt;br /&gt;
 const int ms=9; &lt;br /&gt;
 int state1; &lt;br /&gt;
 int state2;&lt;br /&gt;
 &lt;br /&gt;
 void setup() &lt;br /&gt;
 { &lt;br /&gt;
  lcd.begin(16,2); &lt;br /&gt;
 } &lt;br /&gt;
&lt;br /&gt;
 void loop() &lt;br /&gt;
 { &lt;br /&gt;
   lcd.setCursor(0,0); &lt;br /&gt;
   s=s+1; &lt;br /&gt;
   lcd.print(&amp;quot;TIME:&amp;quot;); &lt;br /&gt;
   lcd.print(h); &lt;br /&gt;
   lcd.print(&amp;quot;:&amp;quot;); &lt;br /&gt;
   lcd.print(m); &lt;br /&gt;
   lcd.print(&amp;quot;:&amp;quot;); &lt;br /&gt;
   lcd.print(s); &lt;br /&gt;
   if(flag&amp;lt;12)lcd.print(&amp;quot;AM&amp;quot;); &lt;br /&gt;
   if(flag==12)lcd.print(&amp;quot;PM&amp;quot;); &lt;br /&gt;
   if(flag&amp;gt;12)lcd.print(&amp;quot;PM&amp;quot;); &lt;br /&gt;
   if(flag==24)flag=0; &lt;br /&gt;
   delay(1000); &lt;br /&gt;
   lcd.clear(); &lt;br /&gt;
   if(s==60) { &lt;br /&gt;
     s=0; &lt;br /&gt;
     m=m+1; &lt;br /&gt;
   }&lt;br /&gt;
   if(m==60) { &lt;br /&gt;
     m=0; &lt;br /&gt;
     h=h+1; &lt;br /&gt;
     flag=flag+1; &lt;br /&gt;
   } &lt;br /&gt;
   if(h==13) { &lt;br /&gt;
     h=1; &lt;br /&gt;
   } &lt;br /&gt;
   lcd.setCursor(0,1); &lt;br /&gt;
   lcd.print(&amp;quot;HAVE A NICE DAY&amp;quot;); &lt;br /&gt;
   //-------Time &lt;br /&gt;
   // setting-------// &lt;br /&gt;
   state1=digitalRead(hs); &lt;br /&gt;
   if(state1==1) { &lt;br /&gt;
     h=h+1; &lt;br /&gt;
     flag=flag+1; &lt;br /&gt;
     if(flag&amp;lt;12)lcd.print(&amp;quot;AM&amp;quot;); &lt;br /&gt;
     if(flag==12)lcd.print(&amp;quot;PM&amp;quot;); &lt;br /&gt;
     if(flag&amp;gt;12)lcd.print(&amp;quot;PM&amp;quot;); &lt;br /&gt;
     if(flag==24)flag=0; &lt;br /&gt;
     if(h==13)h=1; &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>