1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Arduino/hardware/arduino/avr/libraries/SoftwareSerial
Matthijs Kooijman 90ca3934f2 Prevent low pulse on TX initialization in SoftwareSerial
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.
2015-01-26 17:04:26 +01:00
..
examples Revert "SoftwareSerial library to the new format" 2013-11-15 12:54:59 +01:00
keywords.txt Revert "SoftwareSerial library to the new format" 2013-11-15 12:54:59 +01:00
library.properties missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SoftwareSerial.cpp Prevent low pulse on TX initialization in SoftwareSerial 2015-01-26 17:04:26 +01:00
SoftwareSerial.h Fix SoftwareSerial timings 2015-01-26 17:03:25 +01:00