wrote basic voltmeter