Update DigitalWrite function definition