correction in digital IO, include timer test