Well, the fuel gauge works with a variable voltage input which we fake out using PWM of +12V. The tach input expects to see a variable frequency from 0 to 600hz. Slowest freq I can output on the PWM pin is 488hz (using PWM block). Unless the pin is used as standard digital I/O and it is toggled based on another timer under interrupt. A bit of code involved...
|