thandana
Junior Member level 1
Hi,
I have a simple circuit that i created on the proteus8.1 simulator and have written code to flash LED connected to the PIC16F84A device.
When i simulate, the LED is NOT flashing and NO ERRORS on the simulator. Please assist
I have a simple circuit that i created on the proteus8.1 simulator and have written code to flash LED connected to the PIC16F84A device.
When i simulate, the LED is NOT flashing and NO ERRORS on the simulator. Please assist
Code:
void main() {
TRISB=0b11111101;
while (1)
{
PORTB.f1=1;
delay_ms(500);
PORTB.f1=0;
delay_ms(500);
}
}