Re: Microswitch
Yes, that accomplishes the same thing. But using a dial indicator/linear sensor will give positive feedback in half-thousandths. It's also fun. During my long Winter days, I write code just for fun -- sometimes for no real purpose other than to see whether I can do it. Nothing else to do.
I have a contribution on PICKList* that is the product of that and for which no other immediate purpose.
John
Unfortunately, PICList was taken down and everything is now on mirror sites. It was probably a bad idea to post my email here. Just look for base conversions and 17-bit binary to BCD.