Dear Friend
kindly i hope you inform me about what mean that error in picture attached , i am beginner in Proteus 8 ,
how to connect pic16f877a in Proteus 8 , what is wrong ?
after i am build program and save it as hex file , and upload file to micro controller , when run simulations not work
file in attachment you see copy of picture and file of circuit from proteus 8
regards
Attachments
1st paractical connetion of circuit of pic 16f877 with programing led sync .rar
void main() {
trisb= 0b000000000; //portb is output , program port b is output
portb=0 ; // all leds is off
for ( ;; ) {
portb= 0b00101011 ;
delay_ms (10000) ;
portb = 0b11010100 ;
delay_ms(10000) ;
}
}
There is nothing wrong with that code...
The error window in Labcenter Proteus shows you have a pic location violation!!! MikroC is compiling the hex file wrong.
In MikroC make sure all the libraries in Library manager are unchecked... Also make sure the project is set for a pic16f877..
There is nothing wrong with that code...
The error window in Labcenter Proteus shows you have a pic location violation!!! MikroC is compiling the hex file wrong.
In MikroC make sure all the libraries in Library manager are unchecked... Also make sure the project is set for a pic16f877..