bugfixes to gpiopin

This commit is contained in:
noccy committed 2014-06-12 01:56:02 +02:00
1 parent bd5728062e
commit acc695b8ad
1 file changed
+1 -1
+1 -1
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()