I'm helping a co-worker design an improved RS232 breakout box (for in-house use), which will have an LED for each of the lines (except ground). Each LED has three states: Green (active), Red (inactive), and Off (no signal). What is the most straightforward way to implement this? We have a solution using a MAX248 (which is also used to convert to TTL), and an inverter to drive LEDs, which takes care of the Green/Red functionality. However, we're having some difficulty with finding a simple and elegant solution that would turn the LED off. Thank you in advance, Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist