frankenstein
New Member
my code is below, i am tring to remove the delay between flashes of different leds. the current delay is 250ms and i tried simply deleting call delay between the off mesages but in mplab this fails quick build and creates a bunk hex file. waht do i need to add?
Main BSF PORTA,2 ; Turn on LED connected to RA2
CALL delay
BCF PORTA,2 ; Turn off LED connected to RA2
CALL delay
BSF PORTA,3 ; Turn on LED connected to RA3
CALL delay
BCF PORTA,3 ; Turn off LED connected to RA3
CALL delay
GOTO Main
Main BSF PORTA,2 ; Turn on LED connected to RA2
CALL delay
BCF PORTA,2 ; Turn off LED connected to RA2
CALL delay
BSF PORTA,3 ; Turn on LED connected to RA3
CALL delay
BCF PORTA,3 ; Turn off LED connected to RA3
CALL delay
GOTO Main