DigitalWrite: improve first value write