Jump to content

WernherVonData

Members
  • Posts

    2
  • Joined

  • Last visited

Community Answers

  1. WernherVonData's post in Missing GPIO on Armbian for BananaPI M2B was marked as the answer   
    Never mind. Solved it.
    Went here: https://linux-sunxi.org/GPIO (this image is on sunxi kernel, probably for other kernels it might be different).
     
    Checked this file
    cat /sys/kernel/debug/pinctrl/*/pinmux-pins And there finally I was able to know which pin on the board is mapped to which port in the system. 24 is not on that list, thus it was raising an error.
    Then just went with the libgpiod library and the magic happened.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines