No commit activity in last 3 years
No release in over 3 years
Has the same features as the rpi gem, but relies upon the rpi_pinout gem instead of the pi_piper gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0, ~> 0.1
 Project Readme

Using the Simple RaspberryPi gem

require 'simple_raspberrypi' 

red = SimpleRaspberryPi.new(4).pin
red.blink duration: 5

The above code will make a red LED (attached to GPIO 4) blink for 5 seconds.

Resources

raspberrypi rpi led pins blink