arduino_firmata 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.2.2 2013-01-13
2
+
3
+ * fix readme
4
+
1
5
  === 0.2.1 2013-01-13
2
6
 
3
7
  * add digital_read event - Arduino::on(:digital_read, pin, status)
data/README.md CHANGED
@@ -80,7 +80,7 @@ Analog Read
80
80
  ```ruby
81
81
  puts arduino.analog_read 0 # => 0 ~ 1023
82
82
 
83
- arduino.on :analog_read 0 do |pin, value|
83
+ arduino.on :analog_read do |pin, value|
84
84
  if pin == 0
85
85
  puts "analog pin #{pin} changed : #{value}"
86
86
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ArduinoFirmata
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arduino_firmata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: