ESP32Radio-V2 icon indicating copy to clipboard operation
ESP32Radio-V2 copied to clipboard

Just normal encoder instead of serial

Open skartalov opened this issue 4 years ago • 3 comments

Can the code be altered for use of normal encoder instead of serial Manchester type?

skartalov avatar Oct 28 '21 07:10 skartalov

I don't know what a "Machester type" is. But you can always alter the code.

Edzelf avatar Oct 28 '21 12:10 Edzelf

OK, I fixed the encoder to run, just added two lines in your setup:

pinMode(ini_block.enc_clk_pin,PULLUP); pinMode(ini_block.enc_dt_pin,PULLUP);

And it works!

skartalov avatar Nov 01 '21 14:11 skartalov

Right, my rotary encoder has pull-ups on board.

Edzelf avatar Nov 01 '21 18:11 Edzelf