LED blinking

void main()
{
    int i=255;
    TRISB = 0x00;
    PORTB = 0x00;

    while(1)
    {
        PORTB = ~PORTB;
        delay_ms(1000);
    }
}

results matching ""

    No results matching ""