rufirmata 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rufirmata/pin.rb +1 -1
- data/lib/rufirmata/version.rb +1 -1
- metadata +4 -4
data/lib/rufirmata/pin.rb
CHANGED
@@ -96,7 +96,7 @@ module Rufirmata
|
|
96
96
|
raise "#{to_s} cannot be used through Firmata" if mode == Rufirmata::UNAVAILABLE
|
97
97
|
raise "#{to_s} is set up as an INPUT and therefore cannot be written to" if mode == Rufirmata::INPUT
|
98
98
|
if (new_value != value)
|
99
|
-
|
99
|
+
self.value = new_value
|
100
100
|
if mode == Rufirmata::OUTPUT
|
101
101
|
port ? port.write() :
|
102
102
|
board.write_command(Rufirmata::DIGITAL_MESSAGE, pin_number, value)
|
data/lib/rufirmata/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rufirmata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nathan Stults
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-06 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|