Skip to content

Exocet22/TinySerial

Repository files navigation

TinySerial

A lightweight alternative to SoftwareSerial for high-speed serial communication running on ESP8266/ESP32 platform.

Installation

Using the Arduino IDE Library Manager

  1. Choose Sketch -> Include Library -> Manage Libraries...
  2. Type TinySerial into the search box.
  3. Click the row to select the library.
  4. Click the Install button to install the library.

Using PlatformIO Library Manager

  1. Choose PIO Home -> Libraries -> Registry
  2. Type TinySerial into the search box.
  3. Click the row to select the library.
  4. Click the Install button to install the library.

Using Git

cd ~/Documents/Arduino/libraries/
git clone https://github.com/exocet22/TinySerial TinySerial

Notes & limitations

/!\ Only 8N1 serial communication.

The library allows full software serial communication up to 344 Kbps. It uses hardware internal timer and interruptions on GPIO edges.

The library accepts faster serial communication speed than standard SoftwareSerial and uses less resources.

Examples

See examples folder.

License

This libary is licensed under the MIT Licence.

About

A lightweight alternative to SoftwareSerial for high-speed serial communication running on ESP8266/ESP32 platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages