Dear PA3FAT,
Take advantage of your courtesy and expertise to request further assistance.
In essence I came to almost the end of the job using your sketch for the s-meter and the encoder:
? The sketch runs regularly after I have inserted the version of the SI5351 (1.1.2)
? The s-meter works perfectly
? I connected the encoder (Keyes KY-040) to pin D2, D3 and D4
? I used the "Rotary" library from your site
? The encoder button (pin D4) operates and changes the frequency steps
? The encoder does not work (the encoder rotation does not change the frequency)
You can give me some indication to help me solve the problem.
Thank you, 73 de IV3XHM