Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
976 stars 229 forks source link

Turn off rotary encoder #294

Open rtgrandle opened 4 years ago

rtgrandle commented 4 years ago

I have the following problem. I do not have a rotary encoder connected. The debug software says the rotary encoder is enabled. About every second I get a debug message saying "rotation count -1 and the volume bar on the display drops one position. I think that this is an artifact of having no encoder. How do I disable the rotary encoder?

Edzelf commented 4 years ago

Remove the following lines in the configuration (via web interface):

pin_enc_clk = 25     # GPIO rotary encoder CLK
pin_enc_dt = 26      # GPIO rotary encoder DT
pin_enc_sw = 27      # GPIO rotary encoder SW