Tom=E1s =D3 h=C9ilidhe wrote: > What I'm trying to do though is use one sole PIC pin > to achieve this. The PIC pin's three states would correspond to: > > Pin High =3D Green > Pin Low =3D Red > Pin as Input =3D Neither This can be done, but will require some external hardware. Unless this is something you specifically want to do just to learn, use a bigger PIC and be done with it. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist