bugfixes to gpiopin

This commit is contained in:
Chris 2014-06-12 01:56:02 +02:00
parent bd5728062e
commit acc695b8ad

View File

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