Microcomputer-controlled potentiometric analysis system