arduino_firmata 0.2.3 → 0.2.4

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.4 2013-03-08
2
+
3
+ * use StringIO#each_byte for Ruby2.0.0
4
+
1
5
  === 0.2.3 2013-01-23
2
6
 
3
7
  * fix sysex command
data/README.md CHANGED
@@ -14,13 +14,23 @@ Install
14
14
  Requirements
15
15
  ------------
16
16
 
17
- * Ruby 1.8.7+ or 1.9.2+
17
+ * Ruby 1.8.7 or 1.9.2 or 1.9.3 or 2.0.0
18
18
  * Arduino (http://arduino.cc)
19
19
  * testing with Arduino Duemillanove, UNO, Micro, Seeduino v2.
20
20
  * Arduino Standard Firmata v2.2
21
21
  * Arduino IDE -> [File] -> [Examples] -> [Firmata] -> [StandardFirmata]
22
22
 
23
23
 
24
+ ArduinoFirmata Command
25
+ ----------------------
26
+
27
+ % arduino_firmata --help
28
+ % arduino_firmata --list
29
+ % arduino_firmata digital_write 13, true
30
+ % arduino_firmata analog_read 0
31
+ % arduino_firmata servo_write 9, 145
32
+
33
+
24
34
  Synopsis
25
35
  --------
26
36
 
@@ -169,7 +169,7 @@ module ArduinoFirmata
169
169
  end
170
170
 
171
171
  def process_input
172
- StringIO.new(String read).bytes.each do |input_data|
172
+ StringIO.new(String read).each_byte.each do |input_data|
173
173
  command = nil
174
174
 
175
175
  if @parsing_sysex
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ArduinoFirmata
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
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.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: serialport