digitalRead() return value, please advise variable type

Use ‘type’ byte (same as uint8_t)