0

since sysfs is deprecated, and wiringPi can't really be used anymore, I started with libgpiod.

I found some examples I am trying to play with. But nothing yet. (I am trying to get an libpgiod version of blink working).

I was wondering, in libgpio are the pin numbers the same as on the RI boards/pin-headers?

and, more than likely, did anyone build a libgpiod equivalent of the blink example (from wiringPi for example)?

thanks,

Ron

(no real good tags below, because it won't let me add/use any).

2
  • Added libgpiod As a tag for you.
    – user115418
    Jun 3, 2020 at 22:09
  • pigpio uses Broadcom numbering. pinout.xyz
    – Dougie
    Jun 4, 2020 at 22:49

1 Answer 1

1

libgpiod (the replacement for sysfs for GPIO) uses Broadcom GPIO numbering.

I.e. libgpiod GPIO x is Broadcom GPIO x.

Broadcom numbering is indicated with BCM in the following.

https://pinout.xyz/

2
  • Ahhh... that was what I was acually wondering. That helps!! thanks!!
    – Ron
    Jun 3, 2020 at 21:01
  • ok, that actually worked!! cool. (of course I already had the pinout link you showed.)
    – Ron
    Jun 3, 2020 at 21:06

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.