website/index.html in rad-0.0.1 vs website/index.html in rad-0.0.2
- old
+ new
@@ -65,14 +65,11 @@
<pre syntax="ruby">
class MySketch < ArduinoSketch
output_pin 7, :as => :led
def loop
- digitalWrite led, true
- delay 500
- digitalWrite led, false
- delay 500
+ blink led, 500
end
end
</pre>
<p>Once your code is written, your relevant local configuration properly setup in config/hardware.rb and config/sofrware.rb, and an Arduino with the corresponding circuit (a 220ohm resistor and an <span class="caps">LED</span> wired in series between Arduino pin 7 and ground) is connected to your computer via serial, run:</p>
@@ -118,10 +115,10 @@
<h2>Contact</h2>
<p>Comments, questions, heckles, attacks, praises, and, (most especially) patches and contributions are welcome! Send email to <a href="mailto:greg@grabb.it">Greg Borenstein</a>.</p>
<p class="coda">
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 22nd July 2007<br>
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 23rd July 2007<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>
<!-- insert site tracking codes here, like Google Urchin -->