Title: A microcomputer-based programmable shaft-encoder interface