Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Raspberry Pi / AGK - GPIO Pull-Up / Pull-Down - [ How To Set ]

Years of Service
User Offline
Joined: 26th Feb 2020
Location: Cymru
Posted: 29th Jul 2020 16:24 Edited at: 29th Jul 2020 16:25
Hi All,

Just passing on some info if it's of use to anyone.

From my testing - AppGameKit does not enable pull-up or pull downs on the GPIO.

However this can be done as follows:

in the config.txt ( sudo nano /boot/config.txt )

You can add the following declaration eg.

# Select GPIO 12 and enable weak pull up

# Select GPIO 12 and enable weak pull down

# Select GPIO 12 and disable pull ups and pull downs

It's all documented on the Raspberry Pi website -> documentation > configuration > config.txt > gpio

Hope this helps someone!

Login to post a reply

Server time is: 2023-10-03 16:22:18
Your offset time is: 2023-10-03 16:22:18