Bugfixed gpio, improved bitmap example script
This commit is contained in:
		@@ -76,7 +76,9 @@ class GpioPin
 | 
			
		||||
    
 | 
			
		||||
    public function __destruct()
 | 
			
		||||
    {
 | 
			
		||||
        fclose($this->fd);
 | 
			
		||||
    	if ($this->fd) {
 | 
			
		||||
	        fclose($this->fd);
 | 
			
		||||
	    }
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    public function setDirection($direction)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user