Alok Dubey wrote: > > use a 2:1 mux , the PIC line as a select line for the mux and the clock > source as the line i/ps to the mux.. > > osc1 ---------------- > ---------------| | > | |---------Pic o/p > osc2 | | > ---------------| | > ---------------- > | > | pic i/p select > > this is the only soln u can go for if u want i select line > alok Hi Alok, no I posted a working solution before for Dan, using 4 diodes and 3 resistors. No problem there, just that it used 2 PIC output pins to control it. The challenge is to do it with ONE output pin?? -Roman -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads