Hi! Here is my circuit in Orcad
**broken link removed**
Here is simulation in Proteus
**broken link removed**
Added after 1 hours 36 minutes:
when I verify my .hex file it says "error verifying address 0x000000 verified 2805 read 3fff"
in this case, when I continue to "Program all" to charge for PIC, does it accept ?
I am using winPic800 (GTP-USB programmer)
When I plug my GTP-USB by cable adaptador USB, I measure the voltage in between Vpp and GND of ICSP connector, it is about 7.86V ???
Added after 33 minutes:
TRISA, TRISB to determine which pin of PORTA, PORTB is output or input, I did it in my Assembly code ?