Greetings all,
first of all, thank you so much for all your help.
I tried moving the port settings before the Tris statement like you recommended and it worked!
With this change, the LEDs don't flash anymore during startup.Code:PORTA=%00000000PORTB=%00000000 PORTC=%00000000 TRISA = %00000000 TRISB = %00100000 TRISC = %00000000
You guys nailed it!
Thanks
Bookmarks