Frequency to voltage into an analog input might be a good approach.
There are F/V converter chips availiable, and quite a few off the shelf
products as well, i. e. Red Lion. Have used them before, but don't
remember model#s. F/V gets you away from problems like point
bounce(usually uses a monos
Belated thanks Bruce! You saved me a TON of work already. I've been
editing the state list(too many times) in Excel, pasting in in to a
string control and looping it into a text ring, which then gets pasted
into a strict typedef and converted to enum.
I did a project of similar complexity back