TL;DR:
Can I use PB1, PF4, PF6, PC7, PB0, PD2, PD0, PC6, PE6, PB5, PB7, PB3, PF0, PF1, PF5, PF7, PB2, PD3, PD1, PD4, PD7, PB4, PB6, PD6 as digital inputs for the following Pro Micro?
More details:
I'm replacing the original controller on my Filco Minila keyboard by a Pro Micro controller running this (ml67/02-circuit.md at master · jonhiggs/ml67 · GitHub).
However, I don't want to compress the existing matrix and therefore I need a controller with 24 inputs (the keyboard matrix has 8 rows and 16 columns, besides the GND and 5V).
I bought a Pro Micro exactly like this one (http://www.pighixxx.com/test/pinouts/boards/micro.pdf) which says it has 24 Port Pin, each corresponding to a Physical Pin, so I thought it was exactly what I needed. The pinout I devised, using the 24 inputs, is the following:
_____________
PB1 SCK <-- | C13 | GND | --> GND
No need <-- | D.1 | C12 | --> MISO PB3
No need <-- | D.2 | C11 | --> A5 PF0
5V <-- | 5V | C10 | --> A4 PF1
PF4 A3 <-- | C15 | C9 | --> A2 PF5
PF6 A1 <-- | C14 | C8 | --> A0 PF7
PC7 D13 <-- | R7 | C7 | --> MOSI PB2
PB0 SS <-- | R6 | C6 | --> TX1 PD3
PD2 RX1 <-- | R5 | C5 | --> D2 PD1
PD0 D3 <-- | R4 | C4 | --> D4 PD4
PC6 D5 <-- | R3 | C3 | --> D6 PD7
PE6 D7 <-- | R2 | C2 | --> D8 PB4
PB5 D9 <-- | R1 | C1 | --> D10 PB6
PB7 D11 <-- | R0 | C0 | --> D12 PD6
¯¯¯¯¯¯¯¯¯¯¯¯¯
My problem is that the documentation I read about this controller talks about 20 inputs (e.g., http://www.watterott.com/de/Arduino-Micro). Can I use all the ports I've selected above for input, since I don't want to use serial, nor I need the TX/RX leds?
Thanks in advance!