For the capslock key, the led is off when the keyboard is powered up. If you press the capslock key, the led comes on. If you press it again, the capslock key turns off. And so forth.
The controller does have 5V tolerant IO, but I was not having reliable operation when the uC needed to bring a 5V line low. But, you can try it without the level conversion and see how it goes.
The controller does have 5V tolerant IO, but I was not having reliable operation when the uC needed to bring a 5V line low. But, you can try it without the level conversion and see how it goes.
