# GPIO Digital Read From Python

**URL:** <https://discourse.odriverobotics.com/t/gpio-digital-read-from-python/11043>\
**Category:** General\
**Created:** [December 12, 2023, 7:59pm UTC](https://discourse.odriverobotics.com/t/gpio-digital-read-from-python/11043 "2023-12-12T19:59:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![solomondg](https://discourse.odriverobotics.com/letter_avatar_proxy/v4/letter/s/bcef8e/32.png) [@solomondg](https://discourse.odriverobotics.com/u/solomondg)\
**Post date:** [December 13, 2023, 2:55pm UTC](https://discourse.odriverobotics.com/t/gpio-digital-read-from-python/11043/4 "2023-12-13T14:55:26Z")

</div>

Hey there,

A few things:

1. G02 and G05 both have pull-ups, so you may want to switch to using pins G05/G08
2. If using pins on the ISOLATED IO (J12) connector, ISO\_VDD and ISO\_GND need to be externally powered with 5V/GND. If the endstops are powered from the ODrive FEEDBACK IO (J8) 5V/GND, that 5V/GND can be used to power the ISO\_VDD/ISO\_GND, as long as no other devices are connected to ISOLATED IO, and no other devices are connected to the ODrive FEEDBACK IO other than the encoder (this is to avoid [ground loops](https://docs.odriverobotics.com/v/latest/articles/ground-loops.html#ground-loops)).
3. Have you ran an `roll_drv.save_configuration()` after configuring the gpio modes and endstop configuration?

---

_[View the full topic](https://discourse.odriverobotics.com/t/gpio-digital-read-from-python/11043)._
