     }
     
     private func openADC() {
-//        print("Attempting to open ADC")
         let fd  = open(adcPath, O_RDONLY)
         self.fd = fd
         
         if fd < 0 {
-            print("Failed: \(strerror(errno))")
-        } else {
-//            print("Succeeded")
+            fatalError("Couldn't open ADC device: \(strerror(errno))")
         }
     }
     
     private func closeADC() {
-//        print("Closing FD")
         close(fd)
         fd = -1
     }

        }

        if let sampleInt = Int(sampleString.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)) {
//            print("Got value: \(sampleInt)")
            self.closeADC()
            return sampleInt
        } else {

    func getSample() throws -> Int
}

/// Hardware ADC via SysFS
public final class SysFSADC: ADCInterface {
    let adcPath: String
    public let id: Int
