Bare metal, a uC uses ports. But the whole beauty of the Arduino framework is that it makes it easy AND portable. Using ports isn't portable. Yes, it is fast but for a counter you don't need it ![]()
Don't say you shouldn't look into it. But there are more interesting / better things to learn as a newbie ![]()