peter_england
Full Member level 4
please help i am using following code with microc ide and proteus for simulation .. after compiling following code and uploading hex file to simulation nothing happens to pic16f676
===============================CODE===============================
void main(void) {
TRISc.Rc3 = 0x00;
while(1);{
PORTc.RC3 = 1;
delay_ms(500);
PORTc.RC3 = 0;
delay_ms(500);
}
}
===============================CODE================================
PLEASE tell someone what is going wrong in this ???
===============================CODE===============================
void main(void) {
TRISc.Rc3 = 0x00;
while(1);{
PORTc.RC3 = 1;
delay_ms(500);
PORTc.RC3 = 0;
delay_ms(500);
}
}
===============================CODE================================
PLEASE tell someone what is going wrong in this ???