Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pic16f877a programming

Status
Not open for further replies.

omarelfady

Newbie level 4
Joined
Feb 26, 2012
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,316
i 'm using pcp and i want to put leds in one raw at the ciruit board ,how?????
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,274
Trophy points
1,413
Location
Southwest, USA
Activity points
62,510
i 'm using pcp and i want to put leds in one raw at the ciruit board ,how?????

Short of Phencyclidine, it is not clear exactly what you are referring to as PCP.

As far as the rest of your question, are you attempting to blink an LED? What are you referring to by "raw?"

Try rephrasing you question and elaborating on what exactly your are attempting to accomplish.

BigDog
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,758
Helped
1,791
Reputation
3,574
Reaction score
1,650
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,545
i 'm using pbp and i want to put leds in one row at the ciruit board ,how?????

Is this what you are trying to say?

It depends on what you want to do with those LEDs. If you want to blink them simultaneously, send 1s to the connected pins, have some delay, send 0s, some more delay and start over.

If you want to turn them on one after the other, you can individually send 1s and 0s, or you could start from 1 pin and shift it continuously. When you reach the end of a port, use a conditional statement to shift it onto the next port.

You should mention what exactly you want to do and also, how many LEDs you have and what you intend to do with those LEDs.

Hope this helps.
Tahmid.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top