DIO related (adjust to new DIO assignment. A bug fix).