At 11:05 AM 11/10/2009, Vasile Surducan wrote: >BTW, >assuming you want to build it from scratch, how many IO pins will be >necessary for a >7 seg clock displaying: >dd:mm:yyyy hh:mm:ss:tt totaly16 digit >where the format displayed is day:month:year hour:minute:second:milisecond > >Vasile For me, this would use 3 or 4 i/o pins: clock, data1, data2, latch. Those 4 i/o pins would also be used for 4 or 6 push-buttons as well. Use another input pin for line frequency sample. Milliseconds display wouldn't be updating at individual ms rate, though. Code might fit into a 12f508, should fit into a 12f509 or 12f629. But: that's me. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist