suwaii
Member level 4
i try to programme pic16f876 and i successful by using IC-PROG
to make portC=ff then when i remove the pic from programmer and connect the pic with +5V and RC oslliatorand MCLR=5V i do not get anything
and this is the code:
LIST p=16f876, R=DEC
#include "p16f876.inc"
org 0x00
bsf STATUS,RP0
movlw 0x00
movwf TRISC
bcf STATUS,RP0
movlw 0x0F
movwf PORTC
circle goto circle
end
then the problem come from where from code or from
the circuit likr RC osillator ...please help me to make portC=ff
to make portC=ff then when i remove the pic from programmer and connect the pic with +5V and RC oslliatorand MCLR=5V i do not get anything
and this is the code:
LIST p=16f876, R=DEC
#include "p16f876.inc"
org 0x00
bsf STATUS,RP0
movlw 0x00
movwf TRISC
bcf STATUS,RP0
movlw 0x0F
movwf PORTC
circle goto circle
end
then the problem come from where from code or from
the circuit likr RC osillator ...please help me to make portC=ff