I've got a project that I'm working on. I've got ahold of an old car fuel gauge and I want to interface it to a PIC microcontroller to display. The fuel gauge is set by resistance, 10 ohms at the low end and 90 ohms at the high end (@ 12V). I'm wondering how you all would do this... So far, I've come up with a couple ideas such as directly driving transistors with stacked resistances which when all on, equal the full or using an LM3914 with the microcontroller driving the signal and different resistances on the outputs. The problem is that there is a hefty amount of components required to do this. Anyone got a better idea on how to go about this?