[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1944745 [View]
File: 114 KB, 673x931, Screenshot_2020-11-05_03-56-42.png [View same] [iqdb] [saucenao] [google]
1944745

Does anyone know if you have to disable pull up/down resistors on Raspberry Pi GPIO pins if you're using them as outputs? You'd think if it's an output pin both the pull up and pull down resistors would be disconnected, but it's a setting in config.txt. I note in possible config.txt settings for GPIO pins:
ip - Input
op - Output
a0-a5 - Alt0-Alt5
dh - Driving high (for outputs)
dl - Driving low (for outputs)
pu - Pull up
pd - Pull down
pn/np - No pull
dh and dl specify driving high or low "(for outputs)", while pu and pd do not specify "(for inputs)" making me wonder if one's supposed to manually set "pn/np - No pull" when a pin is used as an output.

It's possible that the 50-60k pullup/pulldown resistor wouldn't actually make a practical difference to an output pin... they are at the left hand side of this block diagram

Navigation
View posts[+24][+48][+96]