tlc59116 0.1.1 → 0.1.2

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: 656ea0310e6c77e531fd18afdc0af21e40c559ac
4
- data.tar.gz: 566b6e483117c5ab6622a1881f042e9fdfe66623
3
+ metadata.gz: 5028c7d08b9f116c964fe4343bf5ee2c6c76ea6f
4
+ data.tar.gz: fb9ce21127d492001e5e3c4e9af6b023e0b04ca1
5
5
  SHA512:
6
- metadata.gz: 75e285ad24d797ebceeb823b51203646183a27e1ce264aaec76bc968f681720eadd254b49677f5246bc94140a1abb1dfec2b08807fc4ed703bf9742d401bb0e7
7
- data.tar.gz: 318cce64b633c741606401182112f94b72f7b244399519a07bc93483c0960bee3f53d089dab43e194505fb908ad29391b7b43e8db0116c660985c456d2eff6af
6
+ metadata.gz: b23d0f02832fa7fa06a8502477eab284f2ae2e2c41602ce10e54b9b76079e52c328223868b5a4f137e2e115e3a65db9eaef17ed26567dbfe0742431501de6904
7
+ data.tar.gz: ed920efc0412481324dabc267e916db3df48775dfb9679c285f1f2be265b60a9ec8de564f3301b0daf5580e6d2b85db52de8251c83872ae7f298f0f54cc1f86b
@@ -16,8 +16,8 @@ module Tlc59116
16
16
 
17
17
  AUTO_INCREMENT = 0x80;
18
18
 
19
- def initialize port
20
- @i2c = I2C.create port
19
+ def initialize i2c
20
+ @i2c = i2c
21
21
  end
22
22
 
23
23
  def enable
@@ -1,3 +1,3 @@
1
1
  module Tlc59116
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tlc59116
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sille Van Landschoot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-23 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler