>If you then use a R-3R-9R-27R network to sink and source current it is >possible to get a reasonably linear response. (depending on how little >current the tri-state input sinks) Each output can occupy three states >Hi,Lo, or Tri. Here are the first few codes. Generating the remainder is >left as an exercise for the three-fingered student from Sirius. Very nice use for base-3 math. >P.S. The three fingered alien came from Sirius because everyone knows the >little green men come from Alpha Centauri ;-) I thought you were referring to somebody's typing style/ability! Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================