Hi,
Is there a way of taking two digital pulses onto two seperate pins of a pic microcontroller and programming the pic to calculate a ratio between these pulses?
When the pic detects a particular ratio it needs to light an LED.
I'm going to use the internal oscillator of the pic to measure the pulses against and loop the program continuously.
The pulses will be taken from the tacho and speedo of a motorbike
appreciate any advice
quietfoot.
Is there a way of taking two digital pulses onto two seperate pins of a pic microcontroller and programming the pic to calculate a ratio between these pulses?
When the pic detects a particular ratio it needs to light an LED.
I'm going to use the internal oscillator of the pic to measure the pulses against and loop the program continuously.
The pulses will be taken from the tacho and speedo of a motorbike
appreciate any advice
quietfoot.
Attachments
-
85.1 KB Views: 24