rad 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -0
- data/lib/rad/arduino_sketch.rb +8 -0
- data/lib/rad/version.rb +1 -1
- data/website/index.html +2 -5
- data/website/index.txt +1 -4
- metadata +1 -1
data/History.txt
CHANGED
data/lib/rad/arduino_sketch.rb
CHANGED
data/lib/rad/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -67,10 +67,7 @@
|
|
67
67
|
class MySketch < ArduinoSketch
|
68
68
|
output_pin 7, :as => :led
|
69
69
|
def loop
|
70
|
-
|
71
|
-
delay 500
|
72
|
-
digitalWrite led, false
|
73
|
-
delay 500
|
70
|
+
blink led, 500
|
74
71
|
end
|
75
72
|
end
|
76
73
|
</pre>
|
@@ -120,7 +117,7 @@ end
|
|
120
117
|
|
121
118
|
<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>
|
122
119
|
<p class="coda">
|
123
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
120
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 23rd July 2007<br>
|
124
121
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
125
122
|
</p>
|
126
123
|
</div>
|
data/website/index.txt
CHANGED
@@ -25,10 +25,7 @@ This command will create a new RAD project directory (my_sketch/) inside of the
|
|
25
25
|
class MySketch < ArduinoSketch
|
26
26
|
output_pin 7, :as => :led
|
27
27
|
def loop
|
28
|
-
|
29
|
-
delay 500
|
30
|
-
digitalWrite led, false
|
31
|
-
delay 500
|
28
|
+
blink led, 500
|
32
29
|
end
|
33
30
|
end
|
34
31
|
</pre>
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rad
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
6
|
+
version: 0.0.2
|
7
7
|
date: 2007-07-23 00:00:00 -07:00
|
8
8
|
summary: A framework for programming the Arduino physcial computing platform using Ruby. RAD converts Ruby scripts written using a set of Rails-like conventions and helpers into C source code which can be compiled and run on the Arduino microcontroller.
|
9
9
|
require_paths:
|