Pico-Arduino
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SoftwareSerial Class Reference

Software Serial Arduino Stream which uses the Pico PIO. More...

#include <SoftwareSerial.h>

Inheritance diagram for SoftwareSerial:

Public Member Functions

 SoftwareSerial (PIO pio=pio1, uint stateMachineRxIndex=0, uint stateMachineTxIndex=1)
 
void begin (uint baud=9800, int rxPin=-1, int txPin=-1)
 
virtual int peek ()
 
virtual int available ()
 
virtual int read ()
 
virtual size_t write (uint8_t c)
 

Protected Member Functions

void setupRx (uint pin)
 
void setupTx (uint pin_tx)
 

Protected Attributes

PIO pio
 
uint sm_rx
 
uint sm_tx
 
uint baud
 
int offset
 
int peekValue =-1
 

Detailed Description

Software Serial Arduino Stream which uses the Pico PIO.

Based on https://github.com/raspberrypi/pico-examples/tree/master/pio

Author
Phil Schatzmann

The documentation for this class was generated from the following file: