AmpleGPS library

Just a result, why parsing more than ‘RMC’ can be beneficial.
This are the satellites in view:

The code is generated on a Photon, which acts as TinyWebServer, too.
This is the generated html:

<!DOCTYPE html><html><body><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="800" height="800">
<g stroke-width="0.5" stroke="black" fill="rgb(230, 240, 250)">
<rect width="800" height="800"/>
<circle cx="400" cy="400" r="390"/>
<circle cx="400" cy="400" r="195"/>
<line x1="400" y1="10" x2="400" y2="790"/>
<line x1="10" y1="400" x2="790" y2="400"/></g>
<g fill="orange" stroke="purple" stroke-width="1" style="font-family:Helvetica;font-size:18">
<circle cx="325" cy="51" r="28"/><text x="315"y="57">8</text>
<circle cx="286" cy="43" r="13"/><text x="276"y="49">10</text>
<circle cx="680" cy="609" r="16"/><text x="670"y="615">11</text>
<circle cx="743" cy="546" r="26"/><text x="733"y="552">14</text>
<circle cx="553" cy="358" r="16"/><text x="543"y="364">17</text>
<circle cx="197" cy="246" r="16"/><text x="187"y="252">27</text>
<circle cx="40" cy="304" r="26"/><text x="30"y="310">32</text>
</g></svg></body></html>

For some reason it does not work on an Electron, though.

2 Likes