Skip to content

nickgammon/SendOnlySoftwareSerial

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 23, 2018 12:22
February 17, 2018 10:14
December 30, 2016 09:07
December 23, 2018 12:22

Send-only SoftwareSerial

This library is an adapation of the SoftwareSerial library, with the receiving code omitted.

It is intended for situations where you need to do software sending (not use the hardware serial) but don't need to receive anything. This lets you avoid tying up the pin-change interrupts for the receiving code.

Example of use:

#include <SendOnlySoftwareSerial.h>

SendOnlySoftwareSerial mySerial (3);  // Tx pin

void setup ()
  {
  mySerial.begin(115200);
  }

int i;

void loop ()
{
  mySerial.print ("test: ");
  mySerial.println (i++);
  delay (100);
}

How to install

Make a folder "SendOnlySoftwareSerial" inside the "libraries" folder inside your sketchbook folder. Place the files from this repository in it, in particular SendOnlySoftwareSerial.cpp and SendOnlySoftwareSerial.h.

About

Arduino library for sending (only) of serial data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages