Arduino Port-Manipulation for ATmega328PB

I'm trying to program the ATmega328PB by using Arduino IDE. Is there any way to manipulate Port E of ATmega328PB?

Thanks a lot.

If you use MiniCore, all the pins on the ATmega328PB are mapped to Arduino pin numbers:

If using a core that supports the PB, yes - the same way as any other pin (either with digitalWrite/etc, or with direct port manipulation).

If using a core where you're telling the compiler that it's a 328p not a 328pb and using a bootloader that lies about it's signature or avrdude.conf edited to think that the 328pb is a 328p, no - and this is a stupid way to do it nowadays, since the compiler is updated to support the pb and we have MiniCore now.

Hello,

by using the MiniCore it works now. Thanks a lot for you all. That's really great to know!

You're welcome. I'm glad to hear it's working now. Enjoy!
Per