mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
90ca3934f2
Previously, the TX pin would be set to output first and then written high (assuming non-inverted logic). When the pin was previously configured for input without pullup (which is normal reset state), this results in driving the pin low for a short when initializing. This could accidenttally be seen as a stop bit by the receiving side. By first writing HIGH and then setting the mode to OUTPUT, the pin will have its pullup enabled for a short while, which is harmless. |
||
---|---|---|
.. | ||
arduino | ||
tools |