I started this for a client as a freelance job but the deal fell through. I cleaned it up a bit and posted a little build information along with the code. It's meant to read wire as it's pulled through an apparatus that turns a wheel with an encoder (something like this http://www.taymer.com/assets/images/Wir ... ment02.gif
Uses an old olimex dev board I had. Has EEPROM for long term storage of PPI and offset variables. 6 buttons control setting the PPI, the offset value, resetting after a successful run, resetting to defaults (if pressed during powerup), and saving the PPI and offset to EEPROM.
I just wanted to finish it up so I can start my next project WiFi Radio, more details on that soon.