Hi everyone, I try to produce 60kHz square wave from port A of 16f628 and what I get is the pin produces the desire wave for 15ms and turn off for 5ms. That means I get 50 Hz square wave plus 60kHz waveform. When I try with 16f84, no problem at all. May I know what is the problem with 16f628? Thet Naing __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads