texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

GPIO internal pull ups

Tue Dec 18, 2012 1:17 pm

Hi,
has anyone tried to enable the internal pull ups (or downs) for GPIO pins in python? I,m not sure if wiringfor python or RPi.GPIO supports it?
Cheers,
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
croston
Posts: 708
Joined: Sat Nov 26, 2011 12:33 pm
Location: Blackpool
Contact: Website

Re: GPIO internal pull ups

Tue Dec 18, 2012 1:21 pm

RPi.GPIO supports pull up/down. For an example, see http://code.google.com/p/raspberry-gpio-python/

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: GPIO internal pull ups

Tue Dec 18, 2012 1:36 pm

Great. I thought it did, but wasn't sure. When will RPi.GPIO support the hardware PWM channel (BCM-18, GPIO-1) ;)
Many thanks,
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “Python”