Arduino Micro Pin Mapping

Hi there,

Not 100% sure if I am in the right forum. If not please feel free to move my question.

I am working with an Arduino Micro. There are 6 Analog Inputs (A0... A5) which I do not need.
Instead I would like to change them to digital outputs.

I checked the datasheet of the ATMega32U4 and it seems possible.

Any idea / tip how I could do this? Via IDA and some commands, inside the header files,...

Sorry I am quite new to Arduino and stuff...

Kind regards,
Andreas

digitalWrite(A5, HIGH);

This also works for the pins that aren't numbered, like MISO and SCK. The Micro even has two additiona LEDs that you can write to with digitalWrite(): TXLED and RXLED. The USB serial will flash these LEDs but they're not actually connected to the serial wires.

Thank you so much.. tried it and it works...

Seems like it was just too late to do some work yesterday evening.. :slight_smile: