Hi, I'm considering changing from a Atmega328P based Arduino to the Arduino Uno R4 on a project where I'm using the PIN register instead of the digitalRead() function.
I was wondering if there is a register equivalent to the PIN & PORT register on the RA4M1 chip or does it work completly different?
On this page you see that the pin D0/RX and the number P301 - this tells you that this pin
is on Pin 1 on Port 3, likewise D1, P302 pin 2 on Port 3
D2 - P104 or pin 4 on Port 1
...