jaco1982
Newbie level 4
I think I'm going slightly mad! I'm quite new to embedded development (got a few years experience in server/client devving).
What I'm trying to do, is make a LED flash. Code is as follows:
I'm writing the code in MikroC, and simulating it in Proteus using a PIC18F4553 device. The LED goes on, but does not flash. Am I missing something?
What I'm trying to do, is make a LED flash. Code is as follows:
Code:
void main() {
TRISC = 0x00;
PORTC = 0x00;
for(; ;) {
PORTC.F0 = 0xFF;
delay_ms(500);
PORTC.F0 = 0x00;
}
}
I'm writing the code in MikroC, and simulating it in Proteus using a PIC18F4553 device. The LED goes on, but does not flash. Am I missing something?