I wanted to use this library to control a 1,32" Sh1106 display, to display a menu, and have it controlled with a Rotary encoder.
Controlling the display works perfectly fine, but once I try to read the pin from the rotary encoder, and rotate the encoder, the pin outputs nothing, and the display freezes / obscures in some parts.
Ive tried reading the pin inside the loop function, and tried using an interrupt, both to no success.
Any tips on how to solve this eould be highly appreciated :)
Hello!
I wanted to use this library to control a 1,32" Sh1106 display, to display a menu, and have it controlled with a Rotary encoder.
Controlling the display works perfectly fine, but once I try to read the pin from the rotary encoder, and rotate the encoder, the pin outputs nothing, and the display freezes / obscures in some parts.
Ive tried reading the pin inside the loop function, and tried using an interrupt, both to no success.
Any tips on how to solve this eould be highly appreciated :)