Confusion about AVR-T32U4 pins vs Leonardo

Started by tapirath, January 28, 2021, 09:05:31 PM

Previous topic - Next topic

tapirath

Hi all,

I'm confused a little bit about the pin numbering between AVR-T32U and Arduino Leonardo.
According to Leonardo pinout A0-A5 pins are also used as D14-D19 however in AVR-T32U4 there are separate D14-D17 pins but no D18 nor D19. Also in AVR-T32U4, D15-D17 pins can be used for SPI according to the documentation whereas it's not the case for Leonardo. Considering that Arduino IDE sees this board as Leonardo, I wonder why the difference between pins and how should I map these to original Leonardo pins so that I can follow some tutorials?

Thank you

LubOlimex

Maybe use the definitions of Olimexino-32U4. Install the Olimex AVR package as described here:

https://www.olimex.com/Products/Duino/_resources/Arduino_instructions.pdf

After the installation find "Olimexino-32U4" in the board selection.
Technical support and documentation manager at Olimex