Waveshare Rotation Sensor Pot Button Arduino SKU 9533 Control Dial Atmega Radio

Connect the SIA, SIB, SW pins to the CH0, CH1, CH2 of logic analyser respectively, then power the module. SW ↔ MCU.IO (encoder button status). When pressing the encoder button, the output waveform looks like.

eBay