permit digital_write for pins configured as input (to switch on internal pullups)