Bugfixed gpio, improved bitmap example script

This commit is contained in:
2014-06-12 20:38:46 +00:00
parent 477ea2605d
commit 755552a9a6
2 changed files with 9 additions and 3 deletions

View File

@ -76,7 +76,9 @@ class GpioPin
public function __destruct()
{
fclose($this->fd);
if ($this->fd) {
fclose($this->fd);
}
}
public function setDirection($direction)