Skip to content

Arduino framework SoftwareSerial version that supports different configuration: parity, stop bit and data bit

Notifications You must be signed in to change notification settings

baggior/ConfigurableSoftwareSerial

Repository files navigation

ConfigurableSoftwareSerial

An Arduino framework library for the ESP8266 Platform

use this library if you need a software Serial that could be configured in a different way rather the default 8N1 (8 bit of data, no parity, 1 stop bit).

Based from the ESPSoftwareSerial library modified to support other serial configuration options

Configuration options and defaults

  • Stop bits:

    • 1
    • 2
  • Parity:

    • 'E': even
    • 'O': odd
    • 'N': none
  • Data bits:

    • 5
    • 6
    • 7
    • 8
    • Note: greather not supported (reverted to 8 data bits)

Usage

On startup call the overloaded begin method with the following signature

void begin(long speed, int stopbits = 1, char parity = 'N', int databits=8);

About

Arduino framework SoftwareSerial version that supports different configuration: parity, stop bit and data bit

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages