Disable pull up resistor when using input on the Due
Changed variable name from baseReg to pio