View Single Post
Old 06-17-2011, 12:23 PM   #29 (permalink)
bobski
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Have you tried a flip-flop yet? The MPGuino uses a polling strategy to watch the VSS input, meaning it only checks the status of the input at regular intervals. If a pulse from your circuit starts and ends before that interval comes around in code execution, the MPGuino will miss the pulse. The shorter the pulse, the easier it is for the code to miss it. A flip-flop doesn't have any such limitation and will convert the signal to a 1/2 frequency, 50% duty cycle square wave, very much like a standard switching VSS.
  Reply With Quote