Registry / other / rpi-pinin

rpi-pinin

JSON →
library0.1.3rbrubygemsunverified

Represents a Raspberry Pi GPIO pin for reading input, such as a button press.

gem install rpi_pinin
INSTALL
IMPORT
SIG · RPI-PININ
R
rpi-pinin
otherrubyv0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RPiPinIn
require 'rpi_pinin'

Read the state of GPIO pin 17.

require 'rpi_pinin' pin = RPiPinIn.new(pin: 17) puts pin.read
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
rpi-pinin — gem install rpi-pinin · libregistry