Skip to content

Implementation of Arduino software serial library for ESP32

Notifications You must be signed in to change notification settings

Super169/Esp32SoftwareSerial

Repository files navigation

Esp32SoftwareSerial

Implementation of Arduino software serial library for ESP32 Support both one wire and two wire serial communization up to 115200bps

Based on the following softserial libraries,

This project is originally for the migration of my RobotControl project, which need to connect multiple device via serial connection up to 115200 bps.

The initial version only fixed the connection issue and provide two wire serial connection up to 115200 bps. Single wire connection will be added soon.

Note:

As EspClass::getCycleCount() will be called within the interrupt, it's highly recommended to add IRAM_ATTR for this method to make sure the object is loaded into RAM instead of flash. So you have to modify the ESP.cpp in .platformio\packages\framework-arduinoespressif32\cores\esp32 folder. (refer to https://github.com/paulvha/ESP32/tree/master/softserial)

About

Implementation of Arduino software serial library for ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages