wiring_lmk 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ext/wiringpi/WiringPi/devLib/ds1302.c +254 -0
- data/ext/wiringpi/WiringPi/devLib/ds1302.h +44 -0
- data/ext/wiringpi/WiringPi/devLib/font.h +2577 -0
- data/ext/wiringpi/WiringPi/devLib/gertboard.c +164 -0
- data/ext/wiringpi/WiringPi/devLib/gertboard.h +45 -0
- data/ext/wiringpi/WiringPi/devLib/lcd.c +507 -0
- data/ext/wiringpi/WiringPi/devLib/lcd.h +52 -0
- data/ext/wiringpi/WiringPi/devLib/lcd128x64.c +684 -0
- data/ext/wiringpi/WiringPi/devLib/lcd128x64.h +39 -0
- data/ext/wiringpi/WiringPi/devLib/maxdetect.c +167 -0
- data/ext/wiringpi/WiringPi/devLib/maxdetect.h +40 -0
- data/ext/wiringpi/WiringPi/devLib/piFace.c +112 -0
- data/ext/wiringpi/WiringPi/devLib/piFace.h +32 -0
- data/ext/wiringpi/WiringPi/devLib/piFaceOld.c +178 -0
- data/ext/wiringpi/WiringPi/devLib/piGlow.c +118 -0
- data/ext/wiringpi/WiringPi/devLib/piGlow.h +45 -0
- data/ext/wiringpi/WiringPi/devLib/piNes.c +117 -0
- data/ext/wiringpi/WiringPi/devLib/piNes.h +45 -0
- data/ext/wiringpi/WiringPi/gpio/extensions.c +700 -0
- data/ext/wiringpi/WiringPi/gpio/extensions.h +26 -0
- data/ext/wiringpi/WiringPi/gpio/gpio.c +1280 -0
- data/ext/wiringpi/WiringPi/gpio/pins.c +33 -0
- data/ext/wiringpi/WiringPi/gpio/readall.c +337 -0
- data/ext/wiringpi/WiringPi/wiringPi/drcSerial.c +201 -0
- data/ext/wiringpi/WiringPi/wiringPi/drcSerial.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/max31855.c +99 -0
- data/ext/wiringpi/WiringPi/wiringPi/max31855.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/max5322.c +84 -0
- data/ext/wiringpi/WiringPi/wiringPi/max5322.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23008.c +149 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23008.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23016.c +164 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23016.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23016reg.h +48 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23017.c +195 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23017.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23s08.c +189 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23s08.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23s17.c +234 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23s17.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23x08.h +73 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp23x0817.h +87 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3002.c +76 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3002.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3004.c +76 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3004.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3422.c +113 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp3422.h +43 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp4802.c +76 -0
- data/ext/wiringpi/WiringPi/wiringPi/mcp4802.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/pcf8574.c +126 -0
- data/ext/wiringpi/WiringPi/wiringPi/pcf8574.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/pcf8591.c +92 -0
- data/ext/wiringpi/WiringPi/wiringPi/pcf8591.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/piHiPri.c +51 -0
- data/ext/wiringpi/WiringPi/wiringPi/piThread.c +63 -0
- data/ext/wiringpi/WiringPi/wiringPi/sn3218.c +75 -0
- data/ext/wiringpi/WiringPi/wiringPi/sn3218.h +33 -0
- data/ext/wiringpi/WiringPi/wiringPi/softPwm.c +168 -0
- data/ext/wiringpi/WiringPi/wiringPi/softPwm.h +35 -0
- data/ext/wiringpi/WiringPi/wiringPi/softServo.c +247 -0
- data/ext/wiringpi/WiringPi/wiringPi/softServo.h +35 -0
- data/ext/wiringpi/WiringPi/wiringPi/softTone.c +150 -0
- data/ext/wiringpi/WiringPi/wiringPi/softTone.h +39 -0
- data/ext/wiringpi/WiringPi/wiringPi/sr595.c +113 -0
- data/ext/wiringpi/WiringPi/wiringPi/sr595.h +34 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPi.c +3688 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPi.h +229 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPiI2C.c +236 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPiI2C.h +42 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPiSPI.c +121 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringPiSPI.h +35 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringSerial.c +253 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringSerial.h +38 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringShift.c +83 -0
- data/ext/wiringpi/WiringPi/wiringPi/wiringShift.h +41 -0
- data/ext/wiringpi/extconf.rb +8 -0
- data/ext/wiringpi/wiringpi_wrap.c +4396 -0
- data/lib/wiring_lmk.rb +42 -0
- data/lib/wiring_lmk/event.rb +21 -0
- data/lib/wiring_lmk/gpio.rb +139 -0
- data/lib/wiring_lmk/i2c.rb +26 -0
- data/lib/wiring_lmk/mcp23x17.rb +31 -0
- data/lib/wiring_lmk/serial.rb +49 -0
- data/lib/wiring_lmk/spi.rb +15 -0
- metadata +136 -0
data/lib/wiring_lmk.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'wiringpi/wiringpi'
|
2
|
+
module WiringLmk
|
3
|
+
extend self
|
4
|
+
|
5
|
+
HIGH = 1
|
6
|
+
LOW = 0
|
7
|
+
|
8
|
+
INPUT = 0
|
9
|
+
OUTPUT = 1
|
10
|
+
PWM_OUTPUT = 1
|
11
|
+
|
12
|
+
PUD_OFF = 0
|
13
|
+
PUD_DOWN = 1
|
14
|
+
PUD_UP = 2
|
15
|
+
|
16
|
+
LSPFIRST = 0
|
17
|
+
MSBFIRST = 1
|
18
|
+
|
19
|
+
class Modules
|
20
|
+
class ModuleBase
|
21
|
+
|
22
|
+
@name = 'Unknown'
|
23
|
+
@pin_base = 0
|
24
|
+
@pin_count = 0
|
25
|
+
@pin_end = 0
|
26
|
+
|
27
|
+
attr_reader :name, :pin_base, :pin_count, :pin_end
|
28
|
+
|
29
|
+
def new
|
30
|
+
@pin_end = @pin_base + @pin_count
|
31
|
+
updateName
|
32
|
+
end
|
33
|
+
|
34
|
+
def updateName
|
35
|
+
@name = ' at offset ' + @pin_base.to_s
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
Dir[File.dirname(__FILE__) + '/wiring_lmk/*.rb'].each {|file| require file }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class GPIO
|
3
|
+
def interrupt(pin, edge, &block)
|
4
|
+
Thread.new do
|
5
|
+
@value = digital_read(pin)
|
6
|
+
@last_value = value
|
7
|
+
loop do
|
8
|
+
@last_value = @value
|
9
|
+
@value = digital_read(pin)
|
10
|
+
|
11
|
+
if @value != @last_value
|
12
|
+
next if @value == 0 and edge == :falling_edge
|
13
|
+
next if @value == 1 and edge == :rising_edge
|
14
|
+
break
|
15
|
+
end
|
16
|
+
block.call @value
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class GPIO
|
3
|
+
|
4
|
+
@modules = Array.new
|
5
|
+
@pins = Array.new
|
6
|
+
|
7
|
+
attr_reader :modules, :pins
|
8
|
+
|
9
|
+
def initialize(&block)
|
10
|
+
Wiringpi.wiringPiSetup
|
11
|
+
@pins = Array.new
|
12
|
+
instance_eval &block if block_given?
|
13
|
+
end
|
14
|
+
|
15
|
+
def read_byte(starting_pin)
|
16
|
+
bits = Array.new
|
17
|
+
8.times do |time|
|
18
|
+
bits << Wiringpi.digitalRead(starting_pin + time)
|
19
|
+
end
|
20
|
+
bits.join
|
21
|
+
end
|
22
|
+
|
23
|
+
def write_byte(starting_pin, byte)
|
24
|
+
byte = byte.to_s(2) unless byte.length = 8
|
25
|
+
offset = starting_pin
|
26
|
+
byte.each_char do |bit|
|
27
|
+
Wiringpi.digitalWrite(offset, bit)
|
28
|
+
offset += 1
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def digital_read(pin)
|
33
|
+
if pin.respond_to?(:each)
|
34
|
+
pin.collect do |pin|
|
35
|
+
Wiringpi.digitalRead(pin)
|
36
|
+
end
|
37
|
+
else
|
38
|
+
Wiringpi.digitalRead(pin)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def digital_write(pin, value)
|
43
|
+
if pin.respond_to?(:each)
|
44
|
+
pin.each do |pin|
|
45
|
+
Wiringpi.digitalWrite(pin, value)
|
46
|
+
end
|
47
|
+
else
|
48
|
+
Wiringpi.digitalWrite(pin, value)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def pin_mode(pin, mode)
|
53
|
+
Wiringpi.pinMode(pin, mode)
|
54
|
+
end
|
55
|
+
|
56
|
+
def pull_up_dn_control(pin,mode)
|
57
|
+
Wiringpi.pullUpDnControl(pin, mode)
|
58
|
+
end
|
59
|
+
|
60
|
+
def delay(ms)
|
61
|
+
Wiringpi.delay(ms)
|
62
|
+
end
|
63
|
+
|
64
|
+
def delay_microseconds(ms)
|
65
|
+
Wiringpi.delayMicroseconds(ms)
|
66
|
+
end
|
67
|
+
|
68
|
+
def millis()
|
69
|
+
return Wiringpi.millis()
|
70
|
+
end
|
71
|
+
|
72
|
+
def micros()
|
73
|
+
return Wiringpi.micros()
|
74
|
+
end
|
75
|
+
|
76
|
+
def pi_board_rev()
|
77
|
+
return Wiringpi.piBoardRev()
|
78
|
+
end
|
79
|
+
|
80
|
+
def wpi_pin_to_gpio(pin)
|
81
|
+
return Wiringpi.wpiPinToGpio(pin)
|
82
|
+
end
|
83
|
+
|
84
|
+
def phys_pin_to_gpio(pin)
|
85
|
+
return Wiringpi.physPinToGpio(pin)
|
86
|
+
end
|
87
|
+
|
88
|
+
def pwm_set_mode(mode)
|
89
|
+
return Wiringpi.pwmSetMode(mode)
|
90
|
+
end
|
91
|
+
|
92
|
+
def pwm_set_range(range)
|
93
|
+
return Wiringpi.pwmSetRange(range)
|
94
|
+
end
|
95
|
+
|
96
|
+
def pwm_set_clock(divisor)
|
97
|
+
return Wiringpi.pwmSetClock(divisor)
|
98
|
+
end
|
99
|
+
|
100
|
+
def soft_pwm_create(pin, initial_value, pwm_range)
|
101
|
+
return Wiringpi.softPwmCreate(pin, initial_value, pwm_range)
|
102
|
+
end
|
103
|
+
|
104
|
+
def soft_pwm_write(pin, value)
|
105
|
+
Wiringpi.softPwmWrite(pin, value)
|
106
|
+
end
|
107
|
+
|
108
|
+
def gpio_clock_set(pin, freq)
|
109
|
+
return Wiringpi.gpioClockSet(pin, freq)
|
110
|
+
end
|
111
|
+
|
112
|
+
def wait_for_interrupt(pin, ms)
|
113
|
+
Wiringpi.waitForInterrupt(pin, ms)
|
114
|
+
end
|
115
|
+
|
116
|
+
def wiringpi_isr(pin, mode, fn)
|
117
|
+
Wiringpi.wiringPiISR(pin, mode, fn)
|
118
|
+
end
|
119
|
+
|
120
|
+
def shift_out(dpin, cpin, order, val )
|
121
|
+
Wiringpi.shiftOut(dpin,cpin,order,val)
|
122
|
+
end
|
123
|
+
|
124
|
+
def shift_in(dpin, cpin, order)
|
125
|
+
Wiringpi.shiftIn(dpin,cpin,order)
|
126
|
+
end
|
127
|
+
|
128
|
+
def add_module(module_instance)
|
129
|
+
@modules = Array.new if @modules.nil?
|
130
|
+
|
131
|
+
@modules << module_instance
|
132
|
+
puts 'Added module ' + module_instance.name.to_s
|
133
|
+
|
134
|
+
module_instance.pin_count.times do |offset|
|
135
|
+
@pins[offset + module_instance.pin_base] = 'ENABLED'
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class I2C
|
3
|
+
@device_id = 0
|
4
|
+
def initialize(device_address)
|
5
|
+
@device_id = Wiringpi.wiringPiI2CSetup(device_address)
|
6
|
+
end
|
7
|
+
def read()
|
8
|
+
return Wiringpi.wiringPiI2CRead(@device_id)
|
9
|
+
end
|
10
|
+
def write(data)
|
11
|
+
return Wiringpi.wiringPiI2CWrite(@device_id,data)
|
12
|
+
end
|
13
|
+
def read_reg_8(reg)
|
14
|
+
return Wiringpi.wiringPiI2CReadReg8(@device_id,reg)
|
15
|
+
end
|
16
|
+
def write_reg_8(reg,data)
|
17
|
+
return Wiringpi.wiringPiI2CWriteReg8(@device_id,reg,data)
|
18
|
+
end
|
19
|
+
def read_reg_16(reg)
|
20
|
+
return Wiringpi.wiringPiI2CReadReg16(@device_id,reg)
|
21
|
+
end
|
22
|
+
def write_reg_16(reg,data)
|
23
|
+
return Wiringpi.wiringPiI2CWriteReg16(@device_id,reg,data)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class Modules
|
3
|
+
class Mcp23017 < ModuleBase
|
4
|
+
|
5
|
+
@i2c_address = 0x0
|
6
|
+
|
7
|
+
def initialize(pin_base, i2c_address)
|
8
|
+
@pin_base = pin_base
|
9
|
+
@pin_count = 16
|
10
|
+
@i2c_address = i2c_address
|
11
|
+
Wiringpi.mcp23017Setup( pin_base, i2c_address )
|
12
|
+
super()
|
13
|
+
end
|
14
|
+
end
|
15
|
+
class Mcp23s17 < ModuleBase
|
16
|
+
|
17
|
+
@spi_port = 0
|
18
|
+
@device_id = 0
|
19
|
+
|
20
|
+
def initialize(pin_base, spi_port, device_id)
|
21
|
+
@pin_base = pin_base
|
22
|
+
@pin_count = 16
|
23
|
+
@spi_port = spi_port
|
24
|
+
@device_id = device_id
|
25
|
+
Wiringpi.mcp23s17Setup( pin_base, spi_port, device_id )
|
26
|
+
super()
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class Serial
|
3
|
+
|
4
|
+
@id = 0
|
5
|
+
@device = '/dev/ttyAMA0'
|
6
|
+
@baud = 9600
|
7
|
+
|
8
|
+
def initialize(device='/dev/ttyAMA0', baud=9600)
|
9
|
+
|
10
|
+
@device = device
|
11
|
+
@baud = baud
|
12
|
+
|
13
|
+
@id = Wiringpi.serialOpen(@device, @baud)
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
def serial_close
|
18
|
+
|
19
|
+
Wiringpi.serialClose(@id)
|
20
|
+
@id = 0
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
def serial_put_char(char)
|
25
|
+
|
26
|
+
Wiringpi.serialPutchar(@id, char)
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
def serial_puts(string)
|
31
|
+
|
32
|
+
Wiringpi.serialPuts(@id, string)
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
def serial_data_avail
|
37
|
+
|
38
|
+
Wiringpi.serialDataAvail(@id)
|
39
|
+
|
40
|
+
end
|
41
|
+
|
42
|
+
def serial_get_char
|
43
|
+
|
44
|
+
Wiringpi.serialGetchar(@id)
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module WiringLmk
|
2
|
+
class SPI
|
3
|
+
@channel = 0
|
4
|
+
def initialize(channel,speed)
|
5
|
+
@channel = channel
|
6
|
+
Wiringpi.wiringPiSPISetup(channel,speed)
|
7
|
+
end
|
8
|
+
def wiringPiSPIGetFd()
|
9
|
+
return Wiringpi.wiringPiSPIGetFd(@channel)
|
10
|
+
end
|
11
|
+
def wiringPiSPIDataRW(data)
|
12
|
+
return Wiringpi.wiringPiSPIDataRW(@channel,data)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wiring_lmk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gordon
|
8
|
+
- Phil
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-07 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: 'WiringPi library wrapper for the Banana Pi only. Wraps up version 2.x
|
15
|
+
of the Arduino wiring-like WiringPi library into a convinient Ruby gem. Currently
|
16
|
+
includes GPIO functionality, I2C, SPI, serial and shiftOut/shiftIn support in addition
|
17
|
+
to peripheral drivers for things like the MCP23017. Credit to Gordon for the WiringPi
|
18
|
+
library, which can be found here: http://www.wiringpi.com'
|
19
|
+
email: phil@gadgetoid.com
|
20
|
+
executables: []
|
21
|
+
extensions:
|
22
|
+
- ext/wiringpi/extconf.rb
|
23
|
+
extra_rdoc_files: []
|
24
|
+
files:
|
25
|
+
- lib/wiring_lmk/i2c.rb
|
26
|
+
- lib/wiring_lmk/event.rb
|
27
|
+
- lib/wiring_lmk/mcp23x17.rb
|
28
|
+
- lib/wiring_lmk/gpio.rb
|
29
|
+
- lib/wiring_lmk/serial.rb
|
30
|
+
- lib/wiring_lmk/spi.rb
|
31
|
+
- lib/wiring_lmk.rb
|
32
|
+
- ext/wiringpi/wiringpi_wrap.c
|
33
|
+
- ext/wiringpi/WiringPi/devLib/maxdetect.c
|
34
|
+
- ext/wiringpi/WiringPi/devLib/ds1302.c
|
35
|
+
- ext/wiringpi/WiringPi/devLib/lcd128x64.c
|
36
|
+
- ext/wiringpi/WiringPi/devLib/gertboard.c
|
37
|
+
- ext/wiringpi/WiringPi/devLib/lcd.c
|
38
|
+
- ext/wiringpi/WiringPi/devLib/piNes.c
|
39
|
+
- ext/wiringpi/WiringPi/devLib/piFaceOld.c
|
40
|
+
- ext/wiringpi/WiringPi/devLib/piFace.c
|
41
|
+
- ext/wiringpi/WiringPi/devLib/piGlow.c
|
42
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringSerial.c
|
43
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPiI2C.c
|
44
|
+
- ext/wiringpi/WiringPi/wiringPi/piHiPri.c
|
45
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23008.c
|
46
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPi.c
|
47
|
+
- ext/wiringpi/WiringPi/wiringPi/sn3218.c
|
48
|
+
- ext/wiringpi/WiringPi/wiringPi/piThread.c
|
49
|
+
- ext/wiringpi/WiringPi/wiringPi/softServo.c
|
50
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23016.c
|
51
|
+
- ext/wiringpi/WiringPi/wiringPi/pcf8591.c
|
52
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp4802.c
|
53
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringShift.c
|
54
|
+
- ext/wiringpi/WiringPi/wiringPi/max31855.c
|
55
|
+
- ext/wiringpi/WiringPi/wiringPi/sr595.c
|
56
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3422.c
|
57
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3004.c
|
58
|
+
- ext/wiringpi/WiringPi/wiringPi/pcf8574.c
|
59
|
+
- ext/wiringpi/WiringPi/wiringPi/drcSerial.c
|
60
|
+
- ext/wiringpi/WiringPi/wiringPi/max5322.c
|
61
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23s17.c
|
62
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3002.c
|
63
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23s08.c
|
64
|
+
- ext/wiringpi/WiringPi/wiringPi/softTone.c
|
65
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23017.c
|
66
|
+
- ext/wiringpi/WiringPi/wiringPi/softPwm.c
|
67
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPiSPI.c
|
68
|
+
- ext/wiringpi/WiringPi/gpio/gpio.c
|
69
|
+
- ext/wiringpi/WiringPi/gpio/pins.c
|
70
|
+
- ext/wiringpi/WiringPi/gpio/readall.c
|
71
|
+
- ext/wiringpi/WiringPi/gpio/extensions.c
|
72
|
+
- ext/wiringpi/WiringPi/devLib/piNes.h
|
73
|
+
- ext/wiringpi/WiringPi/devLib/lcd.h
|
74
|
+
- ext/wiringpi/WiringPi/devLib/piFace.h
|
75
|
+
- ext/wiringpi/WiringPi/devLib/gertboard.h
|
76
|
+
- ext/wiringpi/WiringPi/devLib/ds1302.h
|
77
|
+
- ext/wiringpi/WiringPi/devLib/lcd128x64.h
|
78
|
+
- ext/wiringpi/WiringPi/devLib/piGlow.h
|
79
|
+
- ext/wiringpi/WiringPi/devLib/maxdetect.h
|
80
|
+
- ext/wiringpi/WiringPi/devLib/font.h
|
81
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23x08.h
|
82
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3004.h
|
83
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3002.h
|
84
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23s08.h
|
85
|
+
- ext/wiringpi/WiringPi/wiringPi/pcf8574.h
|
86
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringSerial.h
|
87
|
+
- ext/wiringpi/WiringPi/wiringPi/pcf8591.h
|
88
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23016.h
|
89
|
+
- ext/wiringpi/WiringPi/wiringPi/softServo.h
|
90
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp4802.h
|
91
|
+
- ext/wiringpi/WiringPi/wiringPi/drcSerial.h
|
92
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPi.h
|
93
|
+
- ext/wiringpi/WiringPi/wiringPi/softTone.h
|
94
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp3422.h
|
95
|
+
- ext/wiringpi/WiringPi/wiringPi/softPwm.h
|
96
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23s17.h
|
97
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPiSPI.h
|
98
|
+
- ext/wiringpi/WiringPi/wiringPi/sr595.h
|
99
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23x0817.h
|
100
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23017.h
|
101
|
+
- ext/wiringpi/WiringPi/wiringPi/sn3218.h
|
102
|
+
- ext/wiringpi/WiringPi/wiringPi/max5322.h
|
103
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23008.h
|
104
|
+
- ext/wiringpi/WiringPi/wiringPi/mcp23016reg.h
|
105
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringShift.h
|
106
|
+
- ext/wiringpi/WiringPi/wiringPi/wiringPiI2C.h
|
107
|
+
- ext/wiringpi/WiringPi/wiringPi/max31855.h
|
108
|
+
- ext/wiringpi/WiringPi/gpio/extensions.h
|
109
|
+
- ext/wiringpi/extconf.rb
|
110
|
+
homepage: http://rubygems.org/gems/wiring_lmk
|
111
|
+
licenses:
|
112
|
+
- GNU Lesser General Public License v3
|
113
|
+
metadata: {}
|
114
|
+
post_install_message:
|
115
|
+
rdoc_options: []
|
116
|
+
require_paths:
|
117
|
+
- lib
|
118
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - '>='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
requirements: []
|
129
|
+
rubyforge_project:
|
130
|
+
rubygems_version: 2.0.14
|
131
|
+
signing_key:
|
132
|
+
specification_version: 4
|
133
|
+
summary: Arduino wiring-like library for Banana Pi GPIO. Will only work on a Pi. Alpha
|
134
|
+
version.
|
135
|
+
test_files: []
|
136
|
+
has_rdoc:
|