BBB 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/BBB/board/pin_mapper.rb +2 -1
- data/lib/BBB/version.rb +1 -1
- metadata +1 -1
data/lib/BBB/board/pin_mapper.rb
CHANGED
@@ -5,7 +5,8 @@ module BBB
|
|
5
5
|
# Thanks to BoneScript, see the resources/pin_mappings.json.comment
|
6
6
|
# for reference to the original BoneScript file.
|
7
7
|
#
|
8
|
-
|
8
|
+
pin_mapping_file = File.expand_path("../../../../resources/pin_mappings.json", __FILE__)
|
9
|
+
MAP = JSONPinMapper.convert(pin_mapping_file)
|
9
10
|
|
10
11
|
def self.map(pin_symbol, type=:gpio)
|
11
12
|
begin
|
data/lib/BBB/version.rb
CHANGED