0

I'm trying to follow along with this OS building tutorial.

I'm trying to understand what the LED_ values in rpi-gpio.h mean and how they are all used. Where in the documentation are these values listed? I tried looking at the PDFs but I just don't know where to find them.

What are the values and how are they used? Where are they from?

1
  • 6
    Please don't expect us to search for the question. Add the relevant bit(s) of rpi-gpio.h to your question.
    – joan
    Commented May 27, 2017 at 3:40

1 Answer 1

1

Basically, those #define statements are assigning human-readable names to the GPIO pins, as documented for the Pi.

See the official documentation, scroll to page 90.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.