If you have many led you can use an 74xx595: at 3 pin cost you will have = 8 output. Cheap, fast and simply to implement. Tom=E1s =D3 h=C9ilidhe wrote: > Olin Lathrop wrote: > = >> 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. >> = >> = > > I've already got a 40-pin chip and I'm out of pins. Please elaborate on = > "external hardware". > > = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist