Slightly different approach using digitalPinToPCICRbit (pin_arduino.h)