Class: Frankenpins::WiringPiSingleton

Inherits:
Object
  • Object
show all
Defined in:
lib/frankenpins/wiring_pi_singleton.rb

Constant Summary collapse

@@gpio_instance =
WiringPi::GPIO.new

Class Method Summary collapse

Class Method Details

.gpio_instanceObject



7
8
9
# File 'lib/frankenpins/wiring_pi_singleton.rb', line 7

def self.gpio_instance
  @@gpio_instance
end