Hi All

I am using a PIC16F73 and I am trying to pulse PORTC.0, PORTC.1 and PORTC.2
I have set these ports as outputs using TRISC = %11111000
However, when I measure the signal on the pins, the pulse for PORTC.1 and PORTC.2 is clean, but the signal for PORTC.0 is very dirty, i.e. lots of noise?
How can I get rid of this noise on PORTC.0?

Thank you in advance for any help!

Here is all my code:

DEFINE OSC 20

DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 4
DEFINE LCD_EREG PORTC
DEFINE LCD_EBIT 3


DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 2000
DEFINE LCD_DATAUS 50
DEFINE NO_CLRWDT 1 ' Don't insert CLRWDTs


TRISC = %11111000 ' Set RC0, RC1, RC2 to output, rest is input


loop:
PORTC.0 = 1
PORTC.1 = 1
PORTC.2 = 1
PORTC.0 = 0
PORTC.1 = 0
PORTC.2 = 0

Goto loop