PiPHP / GPIO

A PHP library for accessing the GPIO pins on a Raspberry Pi.
MIT License
425 stars 43 forks source link

State of output pins #15

Closed AndrewCarterUK closed 3 years ago

AndrewCarterUK commented 7 years ago

Creating a new 'output pin' instance rewrites to the sysfs GPIO direction file and resets the pin state.

Solution is to check to see if the pin is already an output pin and only write to the direction file if it isn't.

Tag: @alfredomova

gismatthew commented 5 years ago

It seems this project is dead. Does anyone find a good alternative?

AndrewCarterUK commented 5 years ago

Sorry - very much looking for maintainers as my time is on other things.

I do maintain a list of resources of similar projects and other PHP programming bits and bobs aimed at the Raspberry Pi: https://github.com/PiPHP/Resources