i2c-devices 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +1 -0
- data/Rakefile +1 -0
- data/lib/i2c.rb +1 -1
- data/lib/i2c/device/hd44780.rb +1 -1
- data/lib/i2c/driver/gpio.rb +1 -1
- data/lib/i2c/driver/i2c-dev.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 545b2f935babca05be80d95a4e6090ae7c6bc716
|
4
|
+
data.tar.gz: cf85f13b1ca3bd7ffbc256ab34fd552cc74227b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2fbfb0e4ecaccfc4659c792cc1e31ffd3fba4583f35be37343840ed0b388bf4629b43642c8258b7f1c8ccbc8ceb0269358bcfaa5ccff659d14a227fab0421db
|
7
|
+
data.tar.gz: e847ef178a80c01a434fa8a3932bfe6dfc360d9e553876371a9d66d754ca20e82be6b70fc3fa24c3d55ddd39f5e26f760c5a37e46af2e6de2dcb500fb43f9652
|
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
data/lib/i2c.rb
CHANGED
data/lib/i2c/device/hd44780.rb
CHANGED
data/lib/i2c/driver/gpio.rb
CHANGED
@@ -5,7 +5,7 @@ Generic software I2C Driver based on /sys/class/gpio.
|
|
5
5
|
THIS MODULE WORKS WITH VERY SLOW SPEED ABOUT JUST 1kHz (normaly 100kHz).
|
6
6
|
=end
|
7
7
|
|
8
|
-
class I2CDevice::Driver::GPIO < Base
|
8
|
+
class I2CDevice::Driver::GPIO < I2CDevice::Driver::Base
|
9
9
|
@@DEBUG = false
|
10
10
|
|
11
11
|
def self.export(pin) #:nodoc:
|
data/lib/i2c/driver/i2c-dev.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
require "i2c"
|
3
3
|
require "i2c/driver"
|
4
4
|
|
5
|
-
class I2CDevice::Driver::I2CDev < Base
|
5
|
+
class I2CDevice::Driver::I2CDev < I2CDevice::Driver::Base
|
6
6
|
# ioctl command
|
7
7
|
# Ref. https://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/include/linux/i2c.h
|
8
8
|
I2C_RETRIES = 0x0701
|