Sha256: 5f598fd36442f82caf37962ede4e07ee7a954480b82b0067485d80a2b1c0aa13
Contents?: true
Size: 1.88 KB
Versions: 24
Compression:
Stored size: 1.88 KB
Contents
<html> <head> <title>gps_reader.rb.html</title <style type="text/css"> .ruby .normal {} .ruby .comment { color: #888; font-style: italic; } .ruby .keyword { color: #A00; font-weight: bold; } .ruby .method { color: #077; } .ruby .class { color: #074; } .ruby .module { color: #050; } .ruby .punct { color: #447; font-weight: bold; } .ruby .symbol { color: #099; } .ruby .string { color: #944; } .ruby .char { color: #F07; } .ruby .ident { color: #004; } .ruby .constant { color: #07F; } .ruby .regex { color: #B66; } .ruby .number { color: #D55; } .ruby .attribute { color: #377; } .ruby .global { color: #3B7; } .ruby .expr { color: #227; } </style> </head> <body> <pre class="ruby"> <pre><span class="keyword">class </span><span class="class">GpsReader</span> <span class="punct"><</span> <span class="constant">ArduinoSketch</span> <span class="ident">output_pin</span> <span class="number">13</span><span class="punct">,</span> <span class="symbol">:as</span> <span class="punct">=></span> <span class="symbol">:led</span> <span class="ident">software_serial</span> <span class="number">6</span><span class="punct">,</span> <span class="number">7</span><span class="punct">,</span> <span class="symbol">:as</span> <span class="punct">=></span> <span class="symbol">:gps</span> <span class="ident">serial_begin</span> <span class="keyword">def </span><span class="method">loop</span> <span class="ident">digitalWrite</span><span class="punct">(</span><span class="ident">led</span><span class="punct">,</span> <span class="constant">true</span><span class="punct">)</span> <span class="ident">serial_print</span><span class="punct">(</span><span class="ident">gps</span><span class="punct">.</span><span class="ident">read</span><span class="punct">)</span> <span class="keyword">end</span> <span class="keyword">end</span></pre> </pre> </body> </html>
Version data entries
24 entries across 24 versions & 4 rubygems