Shop OBEX P1 Docs P2 Docs Learn Events
how can i turn on all the led ?? — Parallax Forums

how can i turn on all the led ??

Mr.HOWMr.HOW Posts: 1
edited 2009-03-17 12:49 in BASIC Stamp
please help.....I'm just a newbie,,,,,,can anyone tell me how can I turn on all the led by P0!??/ blush.gif

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-03-17 12:49
    "all the led"? What do you mean?

    If you mean that you want to light several LEDs using one I/O pin, then you need some kind of switching transistor or driver to handle the amount of current and voltage involved. There's a good Nuts and Volts Column on driving external loads (#6). Go to the main Parallax webpage and click on the Resources tab. You'll see "Nuts and Volts Columns" on the list that appears. If you click on that, you'll get an index to all the Columns. The discussion in that Column is mostly about motors, solenoids, and relays, but the same principles apply to multiple LEDs.
Sign In or Register to comment.