Dear, upper attached codes for PIC16F72 and schematic for PIC16F873 is that ok?
If you use the downloaded schematic you must also use the downloaded software (which is for pic16F873)

Al.