vsergeev / python-periphery

A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
MIT License
529 stars 139 forks source link

is there support for internal pullups ? #14

Closed jhonoryza closed 6 years ago

jhonoryza commented 6 years ago

is there support for internal pullups ?

vsergeev commented 6 years ago

There's no general way to configure pullups from the sysfs GPIO API, so python-periphery can't support it.

They can often be configured with the pinctrl nodes in the device tree for your particular platform.