             listening = true
         }
     }
-
+    
     public func onRaising(_ closure:(GPIO)->Void){
         intFuncRaising = closure
         if intThread == nil {

            return getIntValue("gpio"+String(id)+"/active_low")==0
        }
    }

    public var value:Int{
        set(val){
            if !exported {enableIO(id)}

    //the pins, and i realize it could not be that useful(likely to change
    //in the future in favor of a better alternative).
    //
    //Only the pins described as gpio in the official documentation are
    //included here: https://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_SRM.pdf?raw=true
    //Clearly this does not support mode change.
    //
