Maker Pro
Maker Pro

PIC help please

Daniel Robertson

Sep 1, 2014
24
Joined
Sep 1, 2014
Messages
24
Have you an application that you wish to use this with? Is it the 16F877 that you are talking about? We need to know what you require from the PIC. We also need to know the programming language you wish to use.
 

chirag patel

Nov 30, 2014
4
Joined
Nov 30, 2014
Messages
4
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.20141130_193259[1].jpg


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);

*/

}
}
 
Last edited by a moderator:

davenn

Moderator
Sep 5, 2009
14,304
Joined
Sep 5, 2009
Messages
14,304
hi there

can you please take a pic from directly above your construction
from the angle you took the above pic it is difficult to see what is going on as it disappears into the darkness
 

chirag patel

Nov 30, 2014
4
Joined
Nov 30, 2014
Messages
4
please go to below link as i just uploaded on youtube.

i have no more pics of this circuit but next time i will click more pics and post it.


rgds.
chirag
 
Last edited by a moderator:
Top