Today I worked on the code for my mini keyboard. I programmed the microcontroller to recognize the four buttons and the rotary encoder and give each input its own function. I also added the logic for detecting when buttons are pressed and for reading the encoder when it is turned. After testing everything, I made a few changes to fix input issues and make the controls respond more reliably.