KMZ80: Programmable angle sensor