basic measuring of resistance  voltage and current using