Use uint8_t for pin numbers.