Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG Problem with GPIO 0 - TTGO T-Display ST 7789V
#1
Bug 


hi,
I have a problem with TTGO T-Display ST 7789V

Button GPIO 0 does not work after presses button (print always 0)
Button GPIO 35 it's OK (print 1 after presses button print 0)

test code:

[python]
from machine import Pin
from time import sleep

button = Pin(0, Pin.IN)

while True:
print(button.value())
sleep(0.1)
[/python]

II have tested with other Micropython and it works.

is there a problem ?

Thanks for your help.


[Image: 68747470733a2f2f696d67617a2e737461746963...652e6a7067]


Reply
#2
I had the same issue using arduino platform. You need to use the internal pull up for gpio0. Not sure if io35 has a resistor on the board, but it works fine as you say without the internal pull up.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)