Raspberry Pi LEDs
andre.lousa.marques at gmail.com
Fri Feb 13 23:24:54 UTC 2015
On 13-02-2015 15:51, Joel Sherrill wrote:
> On 1/29/2015 9:35 PM, Joel Sherrill wrote:
>> On January 29, 2015 10:59:31 AM CST, "André Marques" <andre.lousa.marques at gmail.com> wrote:
>>> On 29-01-2015 12:38, Joel Sherrill wrote:
>>>> I was looking at the led examples on the Pi. Do I need to hook up an
>>> external LED?
>>> The ACT led (which would be used to indicate SD card activity) is
>>> hardwired to GPIO 16, so you may be able to use it (it works on my
>>> B), otherwise you need to use an external LED.
>>> The other board LEDs are hardwired either to the power supply
>>> or the ethernet/usb chip.
>> That's what Pierre's code in led.h in examples-v2 appears to be doing but we have no blink. I switched the commented out part to the B+.
>> Maybe tomorrow morning I can double check.
> Did you ever get a chance to check?
Just tested it, and the led example worked here on my model B (commented
out the B+ and uncommented the B part). Runned the delay example and the
ACT LED blinked as expected.
I do not have a B+ or a PI 2 (yet) to test the B+ code, but by looking
at the code it should be working too. Model B and B+ use different GPIOs
(16 and 47, respectively) for the ACT LED, so it depends on which RPI
you are using.
>>>> Any hints more than the code?
>>>> users mailing list
>>>> users at rtems.org
More information about the users