Bmoe79, I notice that you are only setting 6 of the 8 bits of each port as well as not setting up the statement as: PORTE = %00000000 The "%" has to proceed the binary representation of the bit values to be valid. I notice you do not use it in any of your statements for setting the TRIS or PORT values.
Bookmarks