This amplifier uses the LM358, this operational amplifier with excelents characteristics for this...
The outputs of each switch position are determined by the zener voltage plus the drive voltage of each...
This circuit is found in many LM339 manufacturer's manuals. This is from the SGS manual of...