How To Assign Array Value To Variable Resistor