arduino_firmata 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/LICENSE.txt +1 -1
- data/lib/arduino_firmata/arduino.rb +2 -2
- data/lib/arduino_firmata/version.rb +1 -1
- data/test/test_helper.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0474a63d988206511506cebc23f9f386f2f1177
|
4
|
+
data.tar.gz: 9f165b2b02ec6c73a2081eb07ca68d3616cedb4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 123e21cd9d5d6b44dd05a37c64393e0944a0778acd49b6ef41e5dcd2b750025856445ed3c9aa186750b7eb7773b581c029362e4338737df91c8021beb91b45e5
|
7
|
+
data.tar.gz: 5e35bc83df98a7d6629c0eb6d8202d09d388d5db724a228e6ad6219c853cff7ba1ba8d3b87cb5bcd83163688072ea3bda94462b3cb634115b8846f5156b9fbe1
|
data/History.txt
CHANGED
data/LICENSE.txt
CHANGED
@@ -49,7 +49,7 @@ module ArduinoFirmata
|
|
49
49
|
sleep 0.5
|
50
50
|
break if @version
|
51
51
|
end
|
52
|
-
sleep
|
52
|
+
sleep 3 if old_arduino_device?
|
53
53
|
|
54
54
|
(0...6).each do |i|
|
55
55
|
write(REPORT_ANALOG | i)
|
@@ -71,7 +71,7 @@ module ArduinoFirmata
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def old_arduino_device?
|
74
|
-
File.basename(@serialport_name) =~
|
74
|
+
File.basename(@serialport_name) =~ /tty\.usbserial|ttyUSB/ ? true : false
|
75
75
|
end
|
76
76
|
|
77
77
|
def close
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arduino_firmata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
175
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.0.3
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.
|