<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=WeMOS%3A_D1_R1_mini_RTC_DS1307_set</id>
	<title>WeMOS: D1 R1 mini RTC DS1307 set - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=WeMOS%3A_D1_R1_mini_RTC_DS1307_set"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=WeMOS:_D1_R1_mini_RTC_DS1307_set&amp;action=history"/>
	<updated>2026-04-03T23:20:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=WeMOS:_D1_R1_mini_RTC_DS1307_set&amp;diff=68312&amp;oldid=prev</id>
		<title>Onnowpurbo at 08:30, 6 April 2023</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=WeMOS:_D1_R1_mini_RTC_DS1307_set&amp;diff=68312&amp;oldid=prev"/>
		<updated>2023-04-06T08:30:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:30, 6 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Code&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Code&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; /*&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  *   SDA =&amp;gt; D2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  *   SCL =&amp;gt; D1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  */ &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;Wire.h&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;Wire.h&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;quot;RTClib.h&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;quot;RTClib.h&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=WeMOS:_D1_R1_mini_RTC_DS1307_set&amp;diff=68288&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;Library   https://github.com/adafruit/RTClib   Code   #include &lt;Wire.h&gt;  #include &quot;RTClib.h&quot;    RTC_DS1307 rtc;    char namaHari[7][12] = {&quot;Minggu&quot;, &quot;Senin&quot;, &quot;Selasa&quot;, &quot;Rabu&quot;,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=WeMOS:_D1_R1_mini_RTC_DS1307_set&amp;diff=68288&amp;oldid=prev"/>
		<updated>2023-04-02T13:04:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Library   https://github.com/adafruit/RTClib   Code   #include &amp;lt;Wire.h&amp;gt;  #include &amp;quot;RTClib.h&amp;quot;    RTC_DS1307 rtc;    char namaHari[7][12] = {&amp;quot;Minggu&amp;quot;, &amp;quot;Senin&amp;quot;, &amp;quot;Selasa&amp;quot;, &amp;quot;Rabu&amp;quot;,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Library&lt;br /&gt;
&lt;br /&gt;
 https://github.com/adafruit/RTClib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Code&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;Wire.h&amp;gt;&lt;br /&gt;
 #include &amp;quot;RTClib.h&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 RTC_DS1307 rtc;&lt;br /&gt;
 &lt;br /&gt;
 char namaHari[7][12] = {&amp;quot;Minggu&amp;quot;, &amp;quot;Senin&amp;quot;, &amp;quot;Selasa&amp;quot;, &amp;quot;Rabu&amp;quot;, &amp;quot;Kamis&amp;quot;, &amp;quot;Jumat&amp;quot;, &amp;quot;Sabtu&amp;quot;};&lt;br /&gt;
 &lt;br /&gt;
 void setup () {&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
   if (! rtc.begin()) {&lt;br /&gt;
     Serial.println(&amp;quot;RTC TIDAK TERBACA&amp;quot;);&lt;br /&gt;
     while (1);&lt;br /&gt;
   } &lt;br /&gt;
 &lt;br /&gt;
   if (! rtc.isrunning()) {&lt;br /&gt;
     Serial.println(&amp;quot;RTC is NOT running!&amp;quot;);&lt;br /&gt;
     rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));//update rtc dari waktu komputer&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop () {&lt;br /&gt;
     DateTime now = rtc.now();&lt;br /&gt;
     Serial.print(namaHari[now.dayOfTheWeek()]);  &lt;br /&gt;
     Serial.print(',');    &lt;br /&gt;
     Serial.print(now.day(), DEC);&lt;br /&gt;
     Serial.print('/');&lt;br /&gt;
     Serial.print(now.month(), DEC);&lt;br /&gt;
     Serial.print('/');&lt;br /&gt;
     Serial.print(now.year(), DEC);&lt;br /&gt;
     Serial.print(&amp;quot; &amp;quot;);   &lt;br /&gt;
     Serial.print(now.hour(), DEC);&lt;br /&gt;
     Serial.print(':');&lt;br /&gt;
     Serial.print(now.minute(), DEC);&lt;br /&gt;
     Serial.print(':');&lt;br /&gt;
     Serial.print(now.second(), DEC);&lt;br /&gt;
     Serial.println();&lt;br /&gt;
    &lt;br /&gt;
     delay(3000);&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>