     let spiId:String
     let isOutput:Bool
 
-    init(spiId:String,isOutput:Bool){
+    public init(spiId:String,isOutput:Bool){
         self.spiId=spiId
         self.isOutput=isOutput
         //TODO: Check if available?

        return res
    }

    func newInterruptThread() -> Thread {
        
        let thread = try! Thread {


    var intFuncChange:((GPIO)->Void)? = nil


    public init(name:String,
        id:Int) {
        self.name=name
        self.id=id
