redraw function is working correctly
fixed initial loading of voltmeter