Im using a PIC16F877 development board which comes with 34 pins that can be connected to a bus cable. i found a simple program online that makes LEDS blink. the LEDS light up but they dont blink. Im using PORTB pins for the LEDS.
Im using a PIC16F877 development board which comes with 34 pins that can be connected to a bus cable. i found a simple program online that makes LEDS blink. the LEDS light up but they dont blink. Im using PORTB pins for the LEDS.
Try scoping the output pins, I suspect they will be flashing far too fast to see - you don't have anything much in the way of a delay between the port toggling!.
You should use the Delay() command to set a delay, not a crude for/next loop (which is very, very, much too short) - I don't use C, but I'm sure it should have a suitable command.