Use a potentiometer one end to VCC The Other to GND and the wiper (or center Pin) will be your Vref