Arduino Due strange issues w/ multiple rotary encoders

(deleted)

11.30.cpp (5.69 KB)

First step should be to make a single encoder work properly. Hook pull down résistors to avoid EMI and/or use hardware digital input debounce and search for a correct Keyes 040 arduino tutorial.