domotics-arduino 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0756fbfb26688ad7990b66b94e4858914589a224
4
- data.tar.gz: 2db8463de7a09dfbce3c2527eeab10dfe281ce56
3
+ metadata.gz: 7adcaa784aa0546c2993b701fe5423ba32c57d2c
4
+ data.tar.gz: 461ef12fb5622a4acfe36a471571f10712532cdc
5
5
  SHA512:
6
- metadata.gz: b7a67a4f83f7aa18219a55a96c65f5b87fb436d4b918befa5325fffa1193c60f571c997002111b3cea16316478e70d3fb827d5a944859e724553d43bda36b53f
7
- data.tar.gz: 46035acffd6d06ff009c5a2fd2252419c176a7b0e4857576a19b1212d1d2539d69d9b3e30b7146df0c0b5ed0af49c10c7f608b66d1750e49640bffe15fd66cc5
6
+ metadata.gz: e0c51387fadb5367d9a653e005785fca601eff9a8b86fcc758b1c30838f52678bb6b593bc5868794259d7b05b185d1015cd76984357ea49e00779473be0a3806
7
+ data.tar.gz: e7759a6d3b431335bba591aac1be1c54439ca3bab9d799bdb6bd5d4d10cc8627f3908af62a34cbc716053b2ad2c3891fd2da650e50c7d1837665f26ed7aab99a
@@ -2,6 +2,7 @@ module Domotics::Arduino
2
2
  module DigitalPin
3
3
 
4
4
  def initialize(args = {})
5
+ @device = args[:device]
5
6
  @pin = args[:pin]
6
7
  @device.register_pin self, @pin
7
8
  super
@@ -3,6 +3,7 @@ module Domotics
3
3
  module PWMPin
4
4
 
5
5
  def initialize(args = {})
6
+ @device = args[:device]
6
7
  @pin = args[:pin]
7
8
  @device.set_pwm_frequency @pin, 1
8
9
  super
@@ -1,5 +1,5 @@
1
1
  module Domotics
2
2
  module Arduino
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domotics-arduino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - goredar