Sha256: e3765ee7675877903dccb6e2c72aae172b5906097b14f7dee60c666ad5a816eb
Contents?: true
Size: 174 Bytes
Versions: 2
Compression:
Stored size: 174 Bytes
Contents
require 'wiringpi2' module Frankenpins class WiringPiSingleton @@gpio_instance = WiringPi::GPIO.new def self.gpio_instance @@gpio_instance end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
frankenpins-0.3.0 | lib/frankenpins/wiring_pi_singleton.rb |
frankenpins-0.2.1 | lib/frankenpins/wiring_pi_singleton.rb |