ruby_i2c 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 368ed10e5646a4420a5e8ddd23e32dd61a8c509b
4
- data.tar.gz: eb5cca7b05f79d1a9d044ef6b35efbeb5d15e9b0
3
+ metadata.gz: b363cccb364157ee5cc3d97115561dee41e48c59
4
+ data.tar.gz: fd8422203ffe6f51dca3dc7023416d10e06521fe
5
5
  SHA512:
6
- metadata.gz: e30d9b613a08317e7a4f3e4a6a3dfaeea616320244df15233f8fdc434da07ca14e27ce227c7ff396c7b8bfbae1717ef39245cc91c1f914259e50bde87ed2f6c3
7
- data.tar.gz: a663bab6d57bcc74ec5d729c578e5f85268cc7efd820c1413143a845c767bfa7fe8da63198aabbd03062e7391adc73deb3b2bb098f881dc28212159cc4f987cc
6
+ metadata.gz: 679eef78134c30c3cb3cea54f7d271d68f6b035bf8e910b46e29ddf857e6bcf50e082f8af752618244c89ce9bb6822deda045580248d29aef609525ac037c525
7
+ data.tar.gz: 16a327e8738f686ad2ddb8a0e27bbaa0ad4f0b9eb970ae0f66b42162d96745218e0a762cf49ec786d3fbe175511a4c76b322a3717ded5bf0b96d4c7065ff6058
data/README.md CHANGED
@@ -25,7 +25,17 @@ Or install it yourself as:
25
25
 
26
26
  ## Usage
27
27
 
28
- Don't use this yet
28
+ This library supports the Silicon Labs si70xx chip (for now, pull requests encouraged)
29
+
30
+ ```
31
+ irb(main):001:0> s = RubyI2C::Device::SI70XX.new
32
+ => #<RubyI2C::Device::SI70XX:0x56b9a058 @adapter=#<RubyI2C::Adapter::UnixDevice:0x56ae57d0 @slave_addr=1795, @device_file="/dev/i2c-1", @mutex=#<Thread::Mutex:0x56ad7fb8>>, @address=64>
33
+
34
+ irb(main):002:0> s.relative_humidity
35
+ => 57
36
+ irb(main):003:0> s.temperature
37
+ => 22.176728515624994
38
+ ```
29
39
 
30
40
  ## Development
31
41
 
@@ -1,4 +1,4 @@
1
1
  module RubyI2C
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  def self.version; VERSION; end
4
4
  end
data/ruby_i2c.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{YA Ruby i2c library}
13
13
  spec.description = %q{Yet another ruby i2c library}
14
- spec.homepage = "https://github.com/brundage/ruby_i2c"
14
+ spec.homepage = "https://github.com/brundage/ruby-i2c"
15
15
 
16
16
  spec.require_paths = ["lib"]
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_i2c
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Brundage
@@ -85,7 +85,7 @@ files:
85
85
  - lib/ruby_i2c/device/si70xx.rb
86
86
  - lib/ruby_i2c/version.rb
87
87
  - ruby_i2c.gemspec
88
- homepage: https://github.com/brundage/ruby_i2c
88
+ homepage: https://github.com/brundage/ruby-i2c
89
89
  licenses: []
90
90
  metadata: {}
91
91
  post_install_message: