bugfixes to gpiopin

This commit is contained in:
Chris 2014-06-12 01:58:25 +02:00
parent 0fab790ac2
commit bb0e8af598

View File

@ -46,6 +46,7 @@ class GpioPin
{
$this->pin = (int)$pin;
$this->export();
$this->fd = fopen("/sys/class/gpio/gpio{$pin}/value", "rb");
}
public function __destruct()