> > > Hello everyone, > > > > How do we create time loops for 16C84? I want to measure > > number of pulses in a given time, like in case of techometer. > > Is it better use clock speed of Micro or internal timer? > > I just need simple example. > > > > Thanks for your help, > > > > Vic > > --- > > > > Hi > > I recently did this with the 16C84 using 10MHz clock and internal > timer. I ended up with a triple loop giving a 24 bit timer value > which, when divided into a 24 bit magic number, gave me rpm. I used > 4 7 seg displays and a pal to enable me to select 4/6/8 cylinders and > to do some multiplexing of the displays. > I can't remember whether it was accurate to 1 or 10 rpm. It was > wanted by somebody to set up an injection system on the bench. Never > used in the end but it worked fine off a signal generator fed into > an interrupt line. > > If you want to see the code (in assembler) then I can email it (from home > so 24hr turnaround). > > Cheers > > Stuart Taylor > stuartt@solid-state-logic.com (work) > stuarttayl@aol.com (home) > > I would be interested as well-- I'm working on a very similar project, using the timer and edge detection. Thanks! Larry Battraw (larry@cicdphx.com)