hi there !!
thank you so much for reply.
i m using mp lab and hi tech-proteus 8 compiler.
i can operate/control the circuit but i cant operate it on seperate.
i m using PICKIT 2.
I m coding in c language as below.
/////////////////////////////////////////////////////////////////
#include <htc.h>
#define _XTAL_FREQ 4000000
void main()
{
TRISD=0x00;
PORTD=0;
while(1)
{
PORTD=0b00000100;
__delay_ms(200);
PORTD=0b00001000;
__delay_ms(200);
/*PORTD=0b00000010;
__delay_ms(150);
PORTD=0b00000100;
__delay_ms(150);
PORTD=0b00001000;
__delay_ms(150);
*/
}
}