> Gee Russel, quite brillant on your part for working that out! Thanks. It might even be right :-) The man who designed it was very clever. It's an opto implemenmtation of a "Gilbert cell". Its main problenm is probably the matching of the optos. But it should do a reasonable job as a comparison instrument. RM -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads