Arduino Micro / Leonardo Pin Usage

Hello, I'm planning to use an Arduino Micro (Leonardo) with Atmega 32U4 for a project. And I have the following doubts.

Can I use the following pins for digital reading and writing?

  • D0 / RX
  • D1 / TX
  • D14 / MISO
  • D15 / SCK
  • D16 / MOSI
  • D17 / SS

I read somewhere that RX and TX are used for Serial communication with the computer and they should be used carefully. Does it apply to this board? Can I use the pins above without bricking the board?

Pinout diagram: https://store.arduino.cc/usa/arduino-micro

eric-kp:
I read somewhere that RX and TX are used for Serial communication with the computer and they should be used carefully. Does it apply to this board? Can I use the pins above without bricking the board?

On the 32U4 MCU you can use pins 0/1 as digital IO and still use Serial without problem as USB serial is baked into the chip. You can also use the other pins for digital IO as long as your not connecting SPI peripherals to the board.

Thanks