Can i use tx rx pins ? Pro micro

Hi, so basically tosum up my problemis i simulated my code through tinkercad with an UNO card . I only used 18 buttons plugged to 18 input pins based in the infirmation i found online that the pro micro has 18 input pins .

It cae todzy trough the mail and ti only count 16 . Afer some research i found that they count the tx and rx pins in the 18 they use to market them ... .

I m here to ask fi i can use those pins or is there something else i can do to fit the extra 2 buttons i have ? Can i use those tx rx pins ?

My code is going to make the game act ad a gamepad for windows using the gamepad library . So i need c9nnection between my oc and the board.

People say if u dont need serial u can use those pins but ither people say serial is there to communicate with ur pc which i think i need to be able to se'd the infos of the keystrokes of the gamepad to the pc ... But. I m not sure as i never did something like this before and i m getting a bit confused tbh i dont even know if i need serial or not or what exactly is serial .

so can someone elaborate on this please before i solder them and fry my card or do something even worse ?

Thanks in advance

Use of real words to explain would help, not your made-up abbreviations.

You can, but you can also set up your buttons in a 5x4 matrix and only use 9 pins for 18 buttons.
Google "keypad matrix Arduino"

1 Like

I believe that works.
EDIT: it does work, including TX and RX pins.
Try what @er_name_not_found said and use the keypad.h library.

1 Like

The ProMicro uses a 32U4 where the UART (TX and RX pins) is NOT used for communication with the PC. So you can use them as IO without interfering with uploads and serial monitor.

3 Likes

Lol sorry . I m bad at using a smartphone keyboard i ve seen it again now and it s full of mistakes . Others got it tho so it probably wasnt that bad :smiley: lol .

Thank u very much for the info . Bless u all :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.