firmata 0.0.5 → 0.0.6
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/lib/firmata/board.rb +3 -1
- data/lib/firmata/version.rb +1 -1
- metadata +2 -2
data/lib/firmata/board.rb
CHANGED
@@ -6,7 +6,7 @@ module Firmata
|
|
6
6
|
include EventSpitter
|
7
7
|
|
8
8
|
# Internal: Data structure representing a pin on Arduino.
|
9
|
-
Pin = Struct.new(:
|
9
|
+
Pin = Struct.new(:supported_modes, :mode, :value, :analog_channel)
|
10
10
|
|
11
11
|
# Public: Fixnum byte for pin mode input.
|
12
12
|
INPUT = 0x00
|
@@ -396,5 +396,7 @@ module Firmata
|
|
396
396
|
def stop_pin_reporting
|
397
397
|
toggle_pin_reporting(0)
|
398
398
|
end
|
399
|
+
|
400
|
+
|
399
401
|
end
|
400
402
|
end
|
data/lib/firmata/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firmata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
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: 2012-08-
|
12
|
+
date: 2012-08-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|