Connect with us

How to make them accessible?

Discussion in 'General Electronics Discussion' started by Eri, Jun 29, 2012.

Scroll to continue with content
  1. Eri


    Jun 28, 2012
    I have and Uno with a xxxxxxxx proto shield. There are 2 LEDs on the proto shield, but I don't know how to make use of these LEDs in a sketch. Are they directly controllable out-of-the-box, or do I first need to solder the LED leads to analog/digital (not sure which) outputs on the proto shield to make them accessible? Thanks.
    Last edited by a moderator: Jun 29, 2012
  2. CocaCola


    Apr 7, 2012
    They are power and status, they are not for your use in a sketch...

    Additional LEDs get attached to digital I/O pin with a current limiting resistor... Yes, you would need to solder them or bread board an attachment to the Uno for them to work... You either tie the LED to ground in series with a resistor and take the pin logic high to turn them on, or you tie the LED to the positive rail with a series resistor and take the pin low to turn them on...

    There is a whole sticky post in regards to calculating the needed current limiting resistor...

    And yes EVERYTHING you do with an Arduino needs a sketch, without a sketch it does absolutely nothing... If you want to do something with an Arduino you will need to write a sketch, the official support forums are an invaluable asset in this respect and purchasing from the official makers ensures continued support of their design...

    If you want to figure out how to use an LED visit the official support forums, lots of step by steps...,6.0.html
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day