Keyboard using keypad and keyboard libraries together
I am trying to make a keyboard script for an stm32 based development board using the keypad and keyboard libraries. I used a default script from the keypad library then added a keyboard function from the keyboard library to send keystrokes to the connected computer. My problem is that the script below does not send any keystrokes. I am able to send a key when I have a keyboard.write function alone, but not when it is inside that if statement. I can also send the pressed letter through serial (using an UNO, not the stm32 board as It doesn't connect to the serial monitor) so I know that the keypad script works alone.
0 Replies