the voltmeter problem is solved,now I have trouble with making such a timer that gives the system ON time such as any machine is turned on the machine gives signal to mcu based circuit and this circuit begins to note the the time at last it displays it on hyperterminal the whole time hour,min,second the machine worked in, I am using PIC18F microcontroller and C18 compiller please help