You are on page 1of 1

void main()

{
p2_2_bit = 0; // set PORT2 to be output

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

You might also like