Not a bad plan. However I just bought a PIC with analog inputs instead :P