/TXOnlySerial

Transmit-only Software Serial Arduino library

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

TXOnlySerial

License: LGPL v3 Commits since latest Hit Counter Build Status

This is a transmit-only serial library, which is software driven (bit-banging). In fact, it has been derived from the SoftwareSerial library by simply deleting all the receive methods (including the interrupt handling). It is very useful, when you want to get some debug output, for instance. It uses just one pin, which can be freely defined and it uses less memory than the SoftwareSerial library. Compared to SoftwareSerial, you save roughly 900 bytes flash and 80 bytes RAM.

Usage is very similar to SoftwareSerial, except that you use only one argument when creating an object, namely, the TX pin.