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

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

    override func didReceiveMemoryWarning() {


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