Em 9/7/2010 03:17, Matt Callow escreveu: > On 9 July 2010 14:55, wrote: >> Matt, >> >>> It might be better if you include all of the code you are running. You >>> do not show any of the setup here. Have you set RC1/2 as digital pins? >> Yes, in ANSEL. >> >>> At power up, these pins will be configured for digital inputs. >>> Either try clearing the relevant bits in ANSEL, or use RC4/5 >>> Also, make sure that you have cleared the relevant bits in TRISC to >>> set the pins as outputs. >> Yes. >> >> I have mentioned tha the o/p toggles between +5V and 0V at low frequency= but at higher frequencies, it does not reach 0V but reaches only 1V. > Have you tried using RC4/5, to elimitate any possible interference > from the analogue circuitry on RC1/2? > > Matt Analog mode on PIC pins only interfere with inputs, it doesn't matter if an output pin is configured as analog. Isaac __________________________________________________ Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger = http://br.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist