Jump to content


Photo

Acadia 3.0 ubuntu gpio api command


  • Please log in to reply
No replies to this topic

#1 Zampatti

Zampatti

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 08 February 2016 - 06:38 PM

I have some problem on this board: when I set GPIO mode INPUT (Low value) on any pin (I tried pin 0 to 11) it does not applied. I made setting  through linux command "echo '0' > gpioXX" in the directory "/sys/devices/virtual/misc/gpio/mode".

Furthermore when I set GPIO10 pin LOW in the directory "/sys/devices/virtual/misc/gpio/pin" the same setting is automatically made in the ../mode/GPIO10 file.

I have tried OUTPUT setting on pin 4, 7 and 8 and all the corresponding hardware pins function properly.

Please how can I set pin 10, or another, in input mode?

Thanks

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users