Jomelo / LCDMenuLib2

Create a tree menu. Use it with different lcd types / console output / ssh console.
MIT License
249 stars 46 forks source link

CONTROL WITH ENCODER #63

Closed totza2010 closed 4 years ago

totza2010 commented 4 years ago

CONTROL WITH ENCODER BT_quit, BT_enter Work. BT_left, BT_down, BT_right, BT_up not work. test from code https://github.com/PaulStoffregen/Encoder/tree/master/examples/Basic work. 2020-05-04

Jomelo commented 4 years ago

Hi, how have you connect the encoder ? With my encoder it works correct.

totza2010 commented 4 years ago

define encoder_A_pin 35

define encoder_B_pin 34

define encoder_button_pin 36

i use esp32

Jomelo commented 4 years ago

I read the ESP32 pinout-reference for you: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

Input only pins GPIOs 34 to 39 are GPIs – input only pins. These pins don’t have internal pull-ups or pull-down resistors. They can’t be used as outputs, so use these pins only as inputs:

GPIO 34 GPIO 35 GPIO 36 GPIO 39

You have to add extern pullup resistors.

Jomelo commented 4 years ago

Is this problem fixed with extern pullups ?