Test 2, set all ports on 16F877 as output:

Code:
TRISA = %00000000
TRISB = %00000000
TRISC = %00000000
TRISD = %00000000
TRISE = %00000000

PORTA = %00000000
PORTB = %00000000
PORTC = %00000000
PORTD = %00000000
PORTE = %00000000
No difference, still blinking at twice the expected rate...


Robert