     func getSample() throws -> Int
 }
 
-/// Hardware I2C(SMBus) via SysFS using I2C_SMBUS ioctl
+/// Hardware ADC via SysFS
 public final class SysFSADC: ADCInterface {
     let adcPath: String
     public let id: Int

        }

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

    }
    
    private func openADC() {
        let fd  = open(adcPath, O_RDONLY)
        self.fd = fd
        
        if fd < 0 {
            fatalError("Couldn't open ADC device: \(strerror(errno))")
        }
    }
    
    private func closeADC() {
        close(fd)
        fd = -1
    }
