Hi,
I have a quick question. I want to simulate a keyboard with my arduino and I’m wondering if i can at the same time use RX or TX pins as inputs for the button. I know that you can’t use them when using serial communication but is it the same when using keyboard library?
You mean 8MHz. 8000MHz, or 8GHz, would be amazing, maybe one day!
Yes, on micro you can use Tx, Rx pins for ordinary digital inputs/outputs, or use them for connecting components that use serial communications, like a GPS module. They are not needed for uploading your sketch or using Serial Monitor.
You can't do that with Uno, Nano, Pro Mini... that's why it's important to remember to say what type of Arduino you have in your first post.