2017 © Pedro Peláez
 

library pipin

A tool for accessing the GPIO pins on a Raspberry Pi

image

piphp/pipin

A tool for accessing the GPIO pins on a Raspberry Pi

  • Wednesday, December 16, 2015
  • by AndrewCarterUK
  • Repository
  • 3 Watchers
  • 5 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

PiPin

A tool for managing the GPIO pins on a Raspberry Pi., (*1)

Usage

# Export/Unexport a pin
pipin export   [pin]
pipin unexport [pin]

# Reading a pin state
pipin value     [pin]
pipin direction [pin]
pipin edge      [pin]

# Changing a pin state
pipin value     [pin] [0|1]
pipin direction [pin] [in|out]
pipin edge      [pin] [none|both|falling|rising]

How To Install

Make sure you have composer installed, then:, (*2)

composer global require piphp/pipin

Make sure you have added your global composer binary directory to the PATH in your ~/.bash_profile (or ~/.bashrc) file:, (*3)

export PATH=~/.composer/vendor/bin:$PATH

This blog explains the process of global composer installs in more detail., (*4)

The Versions

16/12 2015

dev-master

9999999-dev

A tool for accessing the GPIO pins on a Raspberry Pi

  Sources   Download

MIT

The Requires

 

gpio raspberry pin pi pins pipin

16/12 2015

v0.1.0

0.1.0.0

A tool for accessing the GPIO pins on a Raspberry Pi

  Sources   Download

MIT

The Requires

 

gpio raspberry pin pi pins pipin