DigitalIO pin mode

20 views
Skip to first unread message

Folus Wen

unread,
Aug 13, 2015, 1:59:47 AM8/13/15
to libbulldog
Hello

        How to set GPIO pin mode as pull high or pull low?......


Folus

Datenheld

unread,
Aug 13, 2015, 2:04:00 AM8/13/15
to libbulldog
AFAIK it is not possible during runtime on the bone. I tried to implement it but the kernel would just silently reset those bits You'll need to apply this via a device tree overlay, probably at boot time.

If that's too much effort for you, you can use an external pullup/pulldown resistor in your circuit, that's how I do it.

Reply all
Reply to author
Forward
0 new messages