Skip to content

Class SoftwareSerial

ClassList > SoftwareSerial

Inherits the following classes: HardwareSerial

Public Functions

Type Name
SoftwareSerial (pin_size_t receivePin, pin_size_t transmitPin, bool inverted=false)
int available ()
void begin (unsigned long baudrate)
void begin (unsigned long baudrate, uint16_t config)
void end ()
void flush ()
operator bool ()
int peek ()
int read ()
size_t write (uint8_t c)

Public Functions Documentation

function SoftwareSerial

SoftwareSerial::SoftwareSerial (
    pin_size_t receivePin,
    pin_size_t transmitPin,
    bool inverted=false

function available

int SoftwareSerial::available () 

function begin [1/2]

inline void SoftwareSerial::begin (
    unsigned long baudrate

function begin [2/2]

void SoftwareSerial::begin (
    unsigned long baudrate,
    uint16_t config

function end

void SoftwareSerial::end () 

function flush

void SoftwareSerial::flush () 

function operator bool

inline SoftwareSerial::operator bool () 

function peek

int SoftwareSerial::peek () 

function read

int SoftwareSerial::read () 

function write

size_t SoftwareSerial::write (
    uint8_t c

The documentation for this class was generated from the following file cores/common/arduino/libraries/api/SoftwareSerial/SoftwareSerial.h