<?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=Arduino%3A_TinyGPSplus</id>
	<title>Arduino: TinyGPSplus - 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=Arduino%3A_TinyGPSplus"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Arduino:_TinyGPSplus&amp;action=history"/>
	<updated>2026-04-19T20:26:23Z</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=Arduino:_TinyGPSplus&amp;diff=51369&amp;oldid=prev</id>
		<title>Onnowpurbo: /* =Code */</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Arduino:_TinyGPSplus&amp;diff=51369&amp;oldid=prev"/>
		<updated>2018-06-14T06:34:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;=Code&lt;/span&gt;&lt;/span&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 06:34, 14 June 2018&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-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;  unzip v1.0.2.zip  &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;  unzip v1.0.2.zip  &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;   &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;   &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;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;==Code==&lt;/div&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;==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 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;TinyGPS++.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;TinyGPS++.h&amp;gt;&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=Arduino:_TinyGPSplus&amp;diff=51368&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;==Library==  * https://github.com/mikalhart/TinyGPSPlus/releases   cd ~/Arduino/libraries  wget https://github.com/mikalhart/TinyGPSPlus/archive/v1.0.2.zip  unzip v1.0.2.zip...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Arduino:_TinyGPSplus&amp;diff=51368&amp;oldid=prev"/>
		<updated>2018-06-14T06:34:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Library==  * https://github.com/mikalhart/TinyGPSPlus/releases   cd ~/Arduino/libraries  wget https://github.com/mikalhart/TinyGPSPlus/archive/v1.0.2.zip  unzip v1.0.2.zip...&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/mikalhart/TinyGPSPlus/releases&lt;br /&gt;
&lt;br /&gt;
 cd ~/Arduino/libraries&lt;br /&gt;
 wget https://github.com/mikalhart/TinyGPSPlus/archive/v1.0.2.zip&lt;br /&gt;
 unzip v1.0.2.zip &lt;br /&gt;
 &lt;br /&gt;
===Code==&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;TinyGPS++.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;SoftwareSerial.h&amp;gt;&lt;br /&gt;
 /*This sample sketch demonstrates the normal use of a TinyGPS++ (TinyGPSPlus) object.   &lt;br /&gt;
 It requires the use of SoftwareSerial, and assumes that you have a 9600-baud serial &lt;br /&gt;
 GPS device hooked up on pins 8(rx) and 9(tx).*/&lt;br /&gt;
 static const int RXPin = 3, TXPin = 4;&lt;br /&gt;
 static const uint32_t GPSBaud = 9600;&lt;br /&gt;
 &lt;br /&gt;
 // The TinyGPS++ object&lt;br /&gt;
 TinyGPSPlus gps;&lt;br /&gt;
 &lt;br /&gt;
 // The serial connection to the GPS device&lt;br /&gt;
 SoftwareSerial ss(RXPin, TXPin);&lt;br /&gt;
 &lt;br /&gt;
 void setup()&lt;br /&gt;
 {&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
   ss.begin(GPSBaud);  &lt;br /&gt;
 &lt;br /&gt;
   Serial.println(F(&amp;quot;DeviceExample.ino&amp;quot;));&lt;br /&gt;
   Serial.println(F(&amp;quot;A simple demonstration of TinyGPS++ with an attached GPS module&amp;quot;));&lt;br /&gt;
   Serial.print(F(&amp;quot;Testing TinyGPS++ library v. &amp;quot;)); Serial.println(TinyGPSPlus::libraryVersion());&lt;br /&gt;
   Serial.println(F(&amp;quot;by Mikal Hart&amp;quot;));&lt;br /&gt;
   Serial.println(F(&amp;quot;Edited By www.maxphi.com&amp;quot;));&lt;br /&gt;
   Serial.println();&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop()&lt;br /&gt;
 {&lt;br /&gt;
   // This sketch displays information every time a new sentence is correctly encoded.&lt;br /&gt;
   while (ss.available() &amp;gt; 0)&lt;br /&gt;
     if (gps.encode(ss.read()))&lt;br /&gt;
       displayInfo(); &lt;br /&gt;
 &lt;br /&gt;
   if (millis() &amp;gt; 5000 &amp;amp;&amp;amp; gps.charsProcessed() &amp;lt; 10)&lt;br /&gt;
   {&lt;br /&gt;
     Serial.println(F(&amp;quot;No GPS detected: check wiring.&amp;quot;));&lt;br /&gt;
     while(true);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 void displayInfo()&lt;br /&gt;
 {&lt;br /&gt;
   Serial.print(F(&amp;quot;Location: &amp;quot;)); &lt;br /&gt;
   if (gps.location.isValid())&lt;br /&gt;
   {&lt;br /&gt;
     Serial.print(gps.location.lat(), 6);&lt;br /&gt;
     Serial.print(F(&amp;quot;,&amp;quot;));&lt;br /&gt;
     Serial.print(gps.location.lng(), 6);&lt;br /&gt;
   }&lt;br /&gt;
   else&lt;br /&gt;
   {&lt;br /&gt;
     Serial.print(F(&amp;quot;INVALID&amp;quot;));&lt;br /&gt;
   }  &lt;br /&gt;
   Serial.println();&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>