 public class GPIO {
     public var bounceTime: TimeInterval?
 
-    public private(set) var name: String = ""
-    public private(set) var id: Int = 0
+    public private(set) var name: String
+    public private(set) var id: Int
     var exported = false
     var listening = false
     var intThread: Thread?


    func writeToFile(_ path: String, value: String) {
        let fp = fopen(path, "w")
        if fp != nil {
          #if swift(>=3.2)
            let len = value.count
          #else
            let len = value.characters.count
          #endif
            let ret = fwrite(value, MemoryLayout<CChar>.stride, len, fp)
            if ret<len {
                if ferror(fp) != 0 {
                    perror("Error while writing to file")
                    abort()
                }
            }
            fclose(fp)
        }
    }


    }

    public var pull: GPIOPull {
        set {
            fatalError("Unsupported parameter.")
        }
        get {
            fatalError("Parameter cannot be read.")
        }
    }
