 
     @IBOutlet var valuePicker: UIPickerView!
     
-    let pickerValues: [UInt8] = Array(0 ..< 16)
+    let pickerValues: [Int] = Array(0 ..< 16)
+    var segmentVC: SGSevenSegmentViewController?
     
     override func viewDidLoad() {
         super.viewDidLoad()

        
        self.valuePicker.delegate = self
        self.valuePicker.dataSource = self
    }

    override func didReceiveMemoryWarning() {

    }
    
    func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        let val = pickerValues[row]
        self.segmentVC?.display(value: val)
    }
}

