??? 01/30/05 19:49 Read: times |
#86138 - smt160.asm example Responding to: ???'s previous message |
Hello Gopalakrishnan Narayanan,
I was playing with some code to read the period value of a smt160. You can see it at this address http://members.aol.com/cpu8052/SMT160.ASM. It uses timer 0 as a 16 bit counter with two more registers to get a 32 bit final value, along with the two external interrupts. The value is read a total of 64 times to get a large sample. The results are feed to an IBM type computer for further processing. Hopes this helps a little. Regards, Charles Bannister |