Click TP_2_Entrées_Sorties_PIC16F877.pdf link to view the file.