I am require to calculate the distance of the object that the range finder detects. The microcontroller I am using is C167CR-LM. I am using T1 to detect the time lag between transmitting and receive of the pulse. When the the content of the timer is latch into the CC1 register, what is saved inside there? The timer's location? In what format(decimal, hexadecimal)? Without knowing, I couldn't continue my program. Awaiting ur reply, Frank
Erm, looks like I really need to brush up my c again.:P..Thanks Hans And thank you Thomas for pointing me the way...nvr knew there is a C166 compiler user guide....stupid of me