#include <htc.h>
#define _XTAL_FREQ 8000000
void main()
{
  TRISB =0X00;
  PORTB=0X03;
  while(1)
  { 
    PORTB=0X01;
    __delay_ms(1000);
    PORTB=0X00;
    __delay_ms(1000);
    PORTB=0X02;
    __delay_ms(1000);
    PORTB=0X00;
    __delay_ms(1000);
  }
}