peter_england
Full Member level 4
- Joined
- Jul 24, 2012
- Messages
- 199
- Helped
- 11
- Reputation
- 22
- Reaction score
- 11
- Trophy points
- 1,298
- Activity points
- 2,478
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 ???